Help me please!
Doesn't create thumb
-
Nuzzina
- Phoca Newbie

- Posts: 8
- Joined: 13 Jun 2008, 14:04
Doesn't create thumb
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!
Help me please!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Doesn't create thumb
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

- Posts: 8
- Joined: 13 Jun 2008, 14:04
Re: Doesn't create thumb
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!
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!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Doesn't create thumb
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 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

- Posts: 8
- Joined: 13 Jun 2008, 14:04
Re: Doesn't create thumb
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...
Moreover, I use also JoomGallery and it hasn't problem with GIF...
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Doesn't create thumb
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 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