Originally posted by rnmcd
View Post
Announcement
Collapse
No announcement yet.
I have increased the max height and width for attached images...
Collapse
X
-
I checked to make sure that I had all the admincp settings correct and it appears that I do.
I also have both Imagemagick and GD.
But for some reason when I try to upload even one image that is larger than the dimensions specified in my Attachment Manager I get an 'image exceeds limits' message during my attempt to upload.
For example, I have my .jpg Max Filesize set to 100,000 bytes (97.65625 kilobytes). I tried to upload an image that was 101 kilobytes and I got the 'image exceeds limits' message during my attempt to upload.
Any idea what could be going wrong? The image in the example was only about 3 kilobytes larger than the maximum size limit. Should it have been able to be resized?
Should I create a support ticket for this?
Thank you.
Comment
-
In the future please submit a support ticket if you are not getting attention on the forums.
Comment
-
I'm having the same issue, I have my attachment limit for jpg set to 3 MB and 1024 x 768. I'm uploading a file that's 1 MB in size and it says:
The Dimension limits for this filetype are 1024 x 768. We were unable to resize your file so you will need to do so manually and upload it again. Your file is currently 3456 x 2304.
Now the server has both GD and ImageMagick, the captcha image generator works correctly and PhotoPost is also able to resize images on the fly as they're loaded, including the one I'm testing, so I don't think it's a php memory limit issue or anything like that. Any way to troubleshoot this or should I open a ticket?
Comment
-
Problem solved, found Zachery's post in this thread:
http://www.vbulletin.com/forum/showthread.php?t=219610
There is a new setting in the config.php file, if its not there it uses a ahrd coded value.
// Image Processing Options
// Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
$config['Misc']['maxwidth'] = 2592;
$config['Misc']['maxheight'] = 1944;
ImageMagick and GD only have so much memory to work with, and large files can be very memory consuming.
I bumped mine to 6000 x 6000 since people love loading huge images as attachments; the server has 8 gb of memory and I set php up to be allowed 96 MB so it should be fine.
Comment
-
-
Originally posted by pdisme View PostProblem solved, found Zachery's post in this thread:
http://www.vbulletin.com/forum/showthread.php?t=219610
There is a new setting in the config.php file, if its not there it uses a ahrd coded value.
// Image Processing Options
// Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
$config['Misc']['maxwidth'] = 2592;
$config['Misc']['maxheight'] = 1944;
ImageMagick and GD only have so much memory to work with, and large files can be very memory consuming.
I bumped mine to 6000 x 6000 since people love loading huge images as attachments; the server has 8 gb of memory and I set php up to be allowed 96 MB so it should be fine.
Comment
Related Topics
Collapse
-
by heredia21How could I auto resize large images that are embedded in the post?
-
Channel: Support Issues & Questions
Mon 9 Dec '13, 2:18pm -
Comment