Log in

View Full Version : Reducing filesize of large uploaded images


pip-london
03-30-2007, 10:03 AM
Hello,

My forum is aimed towards non-technical members, who occasionally like to upload pictures. They then complain loudly when my board rightly refuses to accept a massive image file :)

Can anyone please tell me what's the best way of reducing an uploaded image on the server-side so that I don't have to educate my members about image manipulation software etc.?

Thanks!

Philip.

Marco van Herwaarden
03-30-2007, 09:10 PM
Which vBulletin version are you using?

pip-london
03-31-2007, 11:58 AM
Which vBulletin version are you using?

I'm using 3.6.5

Thanks,

Philip.

Marco van Herwaarden
03-31-2007, 12:32 PM
Check your config.php file for the following lines:
// 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;


If you do not have GD or ImageMagick installed, then the server will also not be able to resize any images. Also make sure you have set reasonable dimensions for the Attachment type.

4x4 Mecca
05-25-2007, 04:50 AM
Awesome! I was searching just for this and found the post. Thanks Marco!