Doesn't create thumb

Phoca Gallery - image gallery extension
Nuzzina
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 13 Jun 2008, 14:04

Doesn't create thumb

Post 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! :cry:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Doesn't create thumb

Post by Jan »

Hi, do you get some error message, check if the GIFs are correct
If you find Phoca extensions useful, please support the project
Nuzzina
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 13 Jun 2008, 14:04

Re: Doesn't create thumb

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Doesn't create thumb

Post 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
If you find Phoca extensions useful, please support the project
Nuzzina
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 13 Jun 2008, 14:04

Re: Doesn't create thumb

Post 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...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Doesn't create thumb

Post 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
If you find Phoca extensions useful, please support the project
Post Reply