Unable to process this photo
|
nwatts
Joined: 2012-06-23
Posts: 8 |
Posted: Sat, 2012-06-23 15:06
|
|
I have just installed Gallery via Fantastico and upgraded to latest version. Install seems ok but when I try and upload photos I get 'Unable to process this photo' message at the end of the upload php.ini (in root of Gallery 3 folder structure) settings are .htaccess (in root of Gallery 3 folder structure) settings are Simultaneous users=1 The images seem to be uploaded but no thumbnails are created and there is nothing to see on screen apart from the photo name and a broken thumbnail link. When I click on the broken thumbnail link I can see the full size image. I can upload images by FTP ... but this does not really help Any suggestions as to how to fix this so that I have a usable gallery |
|
| Login or register to post comments |

Posts: 25965
I have yet to see a successful Fantastico or any other one-click installer.
Delete that install and install manually.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Thanks, Dave. I have carried out a manual install and increased settings in php.ini and .htaccess
I still get the "Unable to Process Photos" message on images over 1MB (it accepts an 829kb photo but not a 1,050kb). This suggets that there must be another image size setting somewhere.
With FTP, I can see the larger images have been installed. However, no thumbnail is created. The image name appears in the album and there is a text link to the image
Any suggestions?
Niall
Posts: 25965
The FAQ is for G2 but is till applicable:
FAQ: Why can't I upload big files (over a megabyte or two)?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Dave, thanks. I have edited php.ini and .htaccess as above. Still not working. Perhaps I need to reboot Apache. As my server is managed by an ISP, I don't think I can do this
Posts: 8
Some more thoughts. I have GD installed as graphic library. Should I add ImageMagick as well. If so, which version?
Or is there anything else I need to install as well.
Or anything I should change in the database. I notice I have 'resize_dirty' = 1 for 'failed' uploads and '0' for successful uploads (failure = no thumbnail).
Any problems connected to browsers?
Posts: 25965
Yes. GD is a resource hog. Best bet is the most recent version.
If the image toolkit is not successful in generating a thumb or resize there is a dirty flag for the maintenance task to try again.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Thanks, Dave. ImageMagick offers these choices. Which do you recommend?
1 MagickWand for PHP a native PHP-extension to the ImageMagick MagickWand API.
2 IMagick is a native PHP extension to create and modify images using the ImageMagick API. Documentation for the extension is available here.
3 phMagick is a wrapper class for ImageMagick, wrapping the most common web image manipulation actions in easy to use functions, but allowing full access to ImageMagick's power by issuing system calls to it's command-line programs.
Mainteannce is not able to create thumbnails either. Gives 'stalled' message.
Posts: 25965
http://www.imagemagick.org/script/index.php
Install the binary.
Why not just ask your host? the vast majority 80+% have it installed for their users in the default or detectable location.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Dave. I have manually installed ImageMagick on my server. However, Gallery 3 Graphic settings gives the message "We could not locate ImageMagick on your system." The ImageMagick button seems diabled. There does not seem to be a browse facility or any way of pointing to its location.
Is there a specific place where I should install ImageMagick?
Thanks
Niall
Posts: 25965
It should be in the path setting of the server.
/usr/bin is where mine is.
Alternatively there is an advanced setting to choose the path and change the toolkit as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
I don't seem to have access to usr/bin
I tried pointing to current location in advanced settings but this does not work (still can't find it)
I used format " /imagemagick/ImageMagick-6.6.1-10" in my root folder
I suspect system is looking in a different root
Any more suggestions?
Thanks
Posts: 25965
Enter the path from that root.
Every host and server is setup different. Perhaps your host will install it for you?
Just guessing here as a good host will have this installed already.
/home/username/sitename/imagemagick/ImageMagick-6.6.1-10
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
My ISP tells that I can create a usr/bin folder in my own root which I have now done. (same level as public_html folder)
I now have a path /usr/bin/ImageMagick-6.6.1-10
Advanced settings still cannot find it.
I tried adding additional // but that makes no difference
To go back to an earlier stage what is the relationship between filesize and memory limit.
E.g. How much memory do I need to process a 2MB photo?
Any mmore ideas. Thanks
Niall