Force image size maximums during upload?
Is there a way to force Classifieds to use the same maximum image dimensions (or even filesize) for pictures uploaded that is specified in vbulletin options?
It appears the watermark is applied on the ORIGINALLY UPLOADED image - THEn that picture is resized according to the specs int eh Classifeids admin control panel.
For example - I have a 250 pixel wide watermark - which is great on a 500 wide image - but if the image uploaded was 2124 wide to start with - the watermark is nearly non-visible (even on the supersize).
Yet is I make the watermark 500 or more wide - it would completely overpower a more appropriately sized image (like 500 or 640 wide).
I am not using watermark on the fly - as we could not get it working yesterday and there was no response to my other thread question. We are using the permanent watermark option, with a png file.
Where are the originally uploaded images being stored in Classifieds? I'm looking in the data directory - and only see the resized versions.
I know the originally uploaded image was 2124x2556, but there is no image of that size in any of the uploaded or data directories.
When the image is resized for the Classifieds, is the originally uploaded file discarded? (which is a good thing - since there does not appear to be any way to force upload limits on filesize that I've found - and storing those images somewhere would definately eat up a lot of bandwidth/allowed storage on the host).
We are using GD2, not IM.
You specify ad dimensions in Admin => Upload Options
You specify the supersize setting and the main display setting as well as thumbnail size there.
I know that - those are all specified already, and working exactly as specified.
What I'm asking is if there is any way to dissallow someone from uploading huge image files - like 2124x2556 - when the server is going to resize them to 500xwhatever (based on how we have the options set currently).
For example - disallow a 300k file being uploaded in the first place - because even though the software is resizing correctly for the end result - it is applying the watermark BEFORE resizing - which makes the watermark very tiny after resizing.
Our supersize setting is 500, and my watermark file is 250x50.
On a 500 px wide image - that's a good watermark size for lower right corner.
On the supersize image you see in this example - the original uploaded image was 2124x2556 - and when the app resized it - the watermark is all but invisible, even though the supersize (end result) picture is now 375x499.
So the watermark is applied at time of upload - and resized along with the original uploaded image.
Yes, I realize I can make the watermark file bigger - but if I make it 500 px wide - and then someone uploads a 500 wide image to start with - the watermark is going to be huge.
Also want to make sure this paragraph doesn't get lost in the other answers:
You can define what supersize is set to where noted. We can not resize the watermark upward as it would result in degredation
Now you can make your supersize larger but any image that is over the supersize mark will be touched and saved. any temp images are deleted after the real ones are saved.
However - I'm just not communicating very well regarding my other question - I realize I can make the supersize larger (and understand where to do that) - that's not what we are looking to do.
I read in another post while I was searching for answers last night that if the watermark file was larger than the uploaded file - it would fail/error. (don't recall the exact words in that post - I'll try to find it and reference it here).
As we all know, some users are prone to using humongous files straight from their digital camera - but some users are more tech-savvy than that and responsibly size their start images down to a more manageable level before they even upload.
If I make a 640 wide watermark file - and someone uploads a 500 wide original image - it will fail, because the watermark could not be applied - correct?
Although for the user who uploads a 2200 wide original file - a 640 wide watermark would be about right - even after the auto-resizing.
So my question is - is there any way to specify "your original image cannot be larger than x by x, or 100k" (just an example - since at least 100k filesize is likely to be quite a bit smaller than 2200x2400)
There is no way to stop images lower than the max dimensions. I am not remembering any issue with watermarks larger than files so yes if you can link that thanks
You should in usergroup options have your max filesize allowed set to your php max filesize. You then would set your upload options to the best case for your scenerio
|All times are GMT -5. The time now is 12:17 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0