[SOLVED] New image uploads don't generate thumbnails
|
ddeg10
Joined: 2003-02-10
Posts: 72 |
Posted: Sat, 2011-08-13 16:47
|
|
When using the G3 built in uploader i uploaded multiple images and while the full size images are present, no thumbnail/resize images are generated. I tried troubleshooting this by uploading images in different areas of my gallery, and I was able to upload an image in the gallery3 main root album and it did generate a thumbnail just fine. But when uploading images inside of any other albums, thumbnails do not show up after the upload. I find it very odd that the thumbnails will generate in the root gallery album but not in other albums - is this some sort of issue with the permissions? I have tried both GD and Imagemagick with the same result. My php memory limit is also set at 64M. Here is my phpinfo just in case: |
|

Posts: 72
I checked my error logs and found the following:
I found 500 lines in my error log with this same exact error.
I am on a VPS so I have shell access and I can edit the php settings manually - Can anyone shed some light on this? Thank you.
Posts: 16503
You don't need the PHP ImageMagick extension installed, Gallery isn't using it. If you're running Debian or Ubuntu, you should just have to apt-get install imagemagick and be done with it.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 72
I notified the host of my error log and they reinstalled imagemagick. Now my error logs are clean. However, my problem still exists. Any new image I upload you can see the full size image but you can't see any resizes or thumbnails. What can I do to fix this? I've been working on trying to get this gallery up for days - I've never run into so many problems.
Posts: 72
Fixed the problem. My thumbs and resizes directory permissions were both set to 755, including all of the subdirectories. I changed everything to 777 and it all works now.
Posts: 16503
Which should've been fine as long as the user that Apache or PHP run as is the owner of those directories. Sounds like your host made changes on you or they have some funky "security" setup that restricts the web server user from being able to create files in directories that it owns....
____________________________________________
Like Gallery? Like the support? Donate now!