View Full Version : Images Stopped Resizing
July 29th, 2009, 03:17 PM
I am having a new problem that sprung up recently where uploaded photos are not resizing per the settings in "Upload Photo Options". The photos and thumbnails appear as the same size as the raw image.
My gallery has been up and running for some time without incident. No settings were recently changed. The only thing that I can think of that recently changed was that my web host upgraded my version of PHP. I am not sure if this somehow might have messed with Image Magick (which is currently set to handle the images).
If this might be the problem, how do I confirm it? Any other ideas?
July 29th, 2009, 06:56 PM
If your host has disabled exec and your using Imagemagick you might need to go to admin => global options and set your processor to GD2 and save your options. You can then try and upload.
July 29th, 2009, 09:32 PM
Its my server so I doubt the host disabled anything on purpose. I am not sure what "exec" means. Executables? I have root and WHM access. What should I check?
When I tried GD2 it would say forwarding to image process list and then it would just display a blank page.
I forgot to mention that my version of photo post is pretty old (v5.5). Not sure if it might be compatible with my new 5.x version of PHP???
July 30th, 2009, 02:07 AM
I would never say hosts dont do that because they do. The error as you describe it suggests that there is an issue using Imagemagick so if you want to continue using it you would need to fix the server.
As far as a blank page using GD2 thats easy. GD2 is part of PHP and as such is prone to PHP restrictions. The blank page is because PHP is shut down on the server because GD2 stole all of PHP's memory. Your fix for that is altering the servers php.ini file and increasing the memory_limit or adding an ini_set line in the script like so
July 30th, 2009, 02:05 PM
The PHP.ini memory_limit is 32MB. I added the ini_set like you recommended.
error_reporting (E_ALL ^ E_NOTICE);
if ( VB3_INTEGRATION == "off" )
Then when I switched to GD2 I experienced the same problem with images not being resized (like with Image Magick). On the processing page the image is full size.
So it would seem to me that the problem is not with the image processor itself?
I double checked the settings in "Upload Photo Options" and everything looks correct to me. Screen shot attached below.....
p.s. The one thing I did not do in the thread you linked was delete all the directories under the "uploads" directory. I was scared I would screw something up worse. If I should do that, just let me know...
July 30th, 2009, 02:34 PM
If no thumbnail is created at 150 pixels and its 1500 then your image processors definately are broken and you need to contact your host.
July 30th, 2009, 05:09 PM
I was able to create an album and upload a photo in vbulletin's standard album/photo system. A thumbnail was created automatically...
This would seem to indicate that GD2 is working properly right?
July 30th, 2009, 07:20 PM
Feel free to post a url and login but if there is an issue with the program there should be an error and thats what I need to know to assist you.
July 30th, 2009, 07:43 PM
My Photo Gallery - Main Index (http://skimonline.net/mediacenter/)
I havent seen any errors displayed, just no resize...
July 30th, 2009, 08:37 PM
Yeah you definately have an image processor issue
There is no program error that I can see
You can send an admin login to the contact us link in our header and I will double check your settings
August 7th, 2009, 12:23 PM
I finally got the webhost to look into it... they enabled exec as you originally suggested and it fixed the problem.
August 7th, 2009, 03:24 PM
Not a problem glad to assist
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.