Quote:
Originally Posted by tcs
Nice hack, however I have a problem. I set the max size of an image to 200x200 and the size to 1 mb. I try to upload a file that is 500x400 and vb warns that the image is too big to upload. (Exceeds the 200x200 I set)
I am on VB 2.3.3
I have no other hacks installed in the attachments.php
I ran the Sql quarries and verified there existence in the db
I triple checked the php additions
I have disable GD 2+ and tried enabled as well
I set the imagemagak 2 1 and have the exact path.
It is making a image to the thumbs folder but not the size I told it to. "150x150"
If I up the size of my image allowance it uploads the image and does say "Click here to enlarge" but the image in the thread is the same size as the attached image in the thread.
Hope I explained this well enough. Let me knoe if not.
Chuck
|
Well Chuck it seems that you had two problems that were not related to this hack at all, the size limit that you set it to limit the size of the upload itself not the thumb so if you upload 500x400 image it might just have been way too big for your settings to allow, now as for the 150x150 image there could be 2 problems, one you have GD disabled or php does not see it at all so it just lets the image pass on because it has nothing else it can do, or the image your uploading itself is smaller than 150x150