Hi, I'm loving Phoca Gallery so far--easy to install and use. The only problem I'm having is with transparent gifs. Both the thumbnails and the full size pictures have their backgrounds converted to black.
Is there anyway to preserve the transparency?
Using Joomla 1.5.3 and Phoca 1.7.0
Transparent gif backgrounds rendered black
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Hi, the thumbnails c
Hi, the thumbnails creating is made from GD function which is a part of your PHP... I think, there is no way to change it but I take a look at it...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2008, 18:10
Ok that makes sense
Ok that makes sense that it's a limitation of GD for the thumbnails. My next question is that it seems as though the full size versions of the images are also being processed by GD. When I click on the thumbnail, the full size image also has the black background. Looks like the file that is being displayed in full view is named "phoca_thumb_l_originalname.gif." Is it possible to have it display the original graphic, rather than the processed graphic?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
there is:
there is:
small size - backend displaying
medium size - frontend, backend displaying
large size - frontend (detail), backand displaying...
original size - fronten (download displaying)...
Hi think, it is not good idea to display the original image in detail view... Many users have the original image with 3 MB ... Do you think, you will wait for seeing the 3 MB image in detail view or in slideshow...
Jan
small size - backend displaying
medium size - frontend, backend displaying
large size - frontend (detail), backand displaying...
original size - fronten (download displaying)...
Hi think, it is not good idea to display the original image in detail view... Many users have the original image with 3 MB ... Do you think, you will wait for seeing the 3 MB image in detail view or in slideshow...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2008, 18:10
Hi, I see what you a
Hi, I see what you are saying, that it wouldn't be a good idea to show the original image. In my case, it would work better since then my transparent gifs wouldn't have the black background. My images are all resized prior to uploading, so I wouldn't have the problem of a 3MB graphic being displayed.
So is there a way to have it display the original graphic? I don't see that option in the Gallery. Thanks!
So is there a way to have it display the original graphic? I don't see that option in the Gallery. Thanks!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Original size: if us
Original size: if user click on download link (In Parameters you can set if it will be displayed or not)
https://www.phoca.cz/phocagallery/user-m ... lobal-conf iguration
Category View Setttings (Thumbnails) - Display Download Icon
https://www.phoca.cz/phocagallery/user-m ... lobal-conf iguration
Category View Setttings (Thumbnails) - Display Download Icon
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 29 Apr 2008, 18:10
Re: Transparent gif backgrounds rendered black
Hi Jan,
Thanks for the solution.
Thanks for the solution.