Phoca Gallery Slideshow Plugin : transparent background?

Phoca Gallery - image gallery extension
TNZ
Phoca Member
Phoca Member
Posts: 42
Joined: 09 Jun 2008, 09:50
Location: France
Contact:

Phoca Gallery Slideshow Plugin : transparent background?

Post by TNZ »

Hello,

I use Phoca Gallery Slideshow Plugin and I like it :) However, I have a problem with the images which are vertical and not in landscape. Indeed, on the sides of the image the bottom is white and it is not pretty, example:

Image

Do you know if is it possible and how to do ?

Thanks !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by Jan »

Hi, you can set background color of detail view in parameters, see:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item

Jan
If you find Phoca extensions useful, please support the project
TNZ
Phoca Member
Phoca Member
Posts: 42
Joined: 09 Jun 2008, 09:50
Location: France
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by TNZ »

Hi,

Thank you for your answer. I tried it but...doesn't work. I speak about phoca galery in article, do you ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by Jan »

If you mean the plugin, just add the code:
imageshadow there, see:

https://www.phoca.cz/documents/14-phoca- ... ery-plugin

Jan
If you find Phoca extensions useful, please support the project
oaanesta
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Sep 2009, 17:34

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by oaanesta »

I use the color code: "#f" and it's showing transpeant background!
TNZ
Phoca Member
Phoca Member
Posts: 42
Joined: 09 Jun 2008, 09:50
Location: France
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by TNZ »

I come back here, long time...

I tried with :
{pgslideshow id=125|width=634|height=479|delay=4000|bgcolor=#2f3739|image=L}
#2f3739 is my background color (see here), unfortunately the background is still white. Do you know why ? Where did I do a mistake ?

Thanks!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by Jan »

Hi, sorry for the missunderstanding, I was writing about Phoca Gallery Plugin not about Phoca Gallery Slideshow Plugin (no time to read all the posts carefully :-( ). In Slideshow Plugin you can only display the following parameters:
https://www.phoca.cz/documents/19-phoca- ... how-plugin

there is no parameter for the background.

Jan
If you find Phoca extensions useful, please support the project
TNZ
Phoca Member
Phoca Member
Posts: 42
Joined: 09 Jun 2008, 09:50
Location: France
Contact:

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by TNZ »

Ok, thank you Jan for your answer.
It's a pity that there is not parameter for the background. May be later ? :)
Thanks again!
jtt73
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Jan 2010, 22:06

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by jtt73 »

If anyone figures out a way to change the background color in the Slideshow Plugin, or make it transparent, please let us know! It would be great to have this option. Thanks.
jtt73
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Jan 2010, 22:06

Re: Phoca Gallery Slideshow Plugin : transparent background?

Post by jtt73 »

Hey nocomp. Per Jan's post from 04 Jan 2010, there is no parameter to edit the white background color. As a work around for my purposes, I determined the size of the white backround, then used a graphics editing program (such as Photoshop) to create a background graphic the same size as the white background, but with the same color as the background of my site. Then I added each of my pictures, one at a time, as a new layer on top of the background, saving each as a new .jpg. Obviously, this is not feasible if you have tons of pictures, but for only a handful of pics it worked fine for me. Also, I'll have to remember this if I ever change the background color of my site. So... this is not an ideal solution, but it works. Good luck.
Post Reply