Page 1 of 1
Doesn't create thumb
Posted: 24 Jun 2010, 10:47
by Nuzzina
Hi, I have a problem: I enable Thumbnails Creation, and when I upload JPG images, component works fine, but when I upload GIF images, component can't create thumbnails... why?
Help me please!

Re: Doesn't create thumb
Posted: 24 Jun 2010, 12:08
by Jan
Hi, do you get some error message, check if the GIFs are correct
Re: Doesn't create thumb
Posted: 24 Jun 2010, 12:20
by Nuzzina
Phoca says me:
Error Message: Phoca Gallery cannot save files on your server
What to do now : ยป If you have fixed the problem caused by
* Image (wrong type or broken image) - remove the image or upload new image via e.g. FTP
* GD Library (not correctly working GD library, not working GD functions) - install or reinstall GD library
* Permissions (no rights to write files or folders) - change the permissions of image/phocagallery folders on your server
But it says me that with ALL GIF images!
Re: Doesn't create thumb
Posted: 24 Jun 2010, 13:00
by Jan
Hi, you need to check all the settings on your server
- if you have enabled GD library
- if there is a lot of memory to create thumbnails by your GD library
- if images can be accessed
- if thumbnails can be written on your server (permissions, ownership)
etc. see info site on Phoca Gallery Administration site and check your server settings.
Jan
Re: Doesn't create thumb
Posted: 24 Jun 2010, 13:22
by Nuzzina
But I have this problem only with GIF and not with JPG... why?
Moreover, I use also JoomGallery and it hasn't problem with GIF...
Re: Doesn't create thumb
Posted: 28 Jun 2010, 13:39
by Jan
Hi, Phoca Gallery works with GIFs but you should know, that Phoca Gallery does not process the images, so they are processed by your GD library. If there is some error, the GD library will return it and this will be displayed in your Phoca Gallery.
If the error is not cause by GD, but it is caused e.g. by permissions, you should check your permissions and ownership. Because of security reasons, Phoca Gallery uses 755 pemission settings. Maybe some of your other components is using 777 (which is not secure) so there is no problem accessing files on the server.
Try to see:
https://www.phoca.cz/documents/50-phoca/ ... y-settings
There are tips how to set settings to use 755 permission settings (ftp layer enabled, JFile as image creator, etc.)
Jan