Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

Tranparant background

21 Jan 2009, 17:20

I was wondering if it is possible to make V2 final use a transparent background. Would be cool seeing as I use differnt skins on my website.
It's possible to create swf's with a transparant backfround as far as I read.

Looking forward to hearing from you guys :)
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

22 Jan 2009, 01:19

Open imagevue/templates/index.gallery.phtml and where is says swfobject.Embed add:

wmode: 'transparent', where flashParams are, so it looks like this:
Code
swfobject.embedSWF("<?php echo IV_PATH; ?>imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "<?php echo IV_PATH; ?>expressInstall.swf", flashVars, {wmode: 'transparent', allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#<?php echo $this->bkGrColor; ?>'}, {id: 'imagevue', name: 'imagevue'});
firedev.com
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

22 Jan 2009, 12:48

Hmm did that edit but the background color stil shows.
(By thus I mean the background which is set in the theme)
Any ideas on changing the alpha on that or another way to make it transparent for the background of the gallery?

EDIT:

Did some testing by also removing the background color in
/imagevue/config/mytheme.xml

The preloader is now working with a transparent background
But then after that it still shows a white background.
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

22 Jan 2009, 16:24

I think you have to remove it in index.gallery.html everywhere where it says:
<?php echo $this->bkGrColor; ?>
firedev.com
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

24 Jan 2009, 08:38

Thanks for the advice Pain :)

Tried it sadly didn't work.
It seems that once the preloade is done running it fetches the background color from the template you selected. Leaving it empty by editing the xml gives you a white background. Als entering transparent doesn't work and gives you a white background.

Just to make clear what I want is that the main background is transparent.

If only we could set it as transparent or mess with the alpha blending. Then I think it would do the job.

Would be cool for people like me who use selectable skins on their site.
Because embedding something in such cases is good for some skins but just doesn;t look good in others. And if transparent would give such a integrated vibe to it all. (if you get my drift)

Hope you guys can look into this further :)
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

24 Jan 2009, 17:36

Yes, I realized you want background to be transparent, do you have url to take a look what you got in the end?
firedev.com
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

26 Jan 2009, 13:25

Well actually reverted them back because my visitors were complaining :p
So no I don't have any links I can give you but just try it on any installation and you will see what I mean.
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Jan 2009, 07:41

The flash always creates a solid background color based on background_color from theme file. This is because sometimes people are not using background images, or they are small ...
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

29 Jan 2009, 14:17

mjau-mjau wrote:The flash always creates a solid background color based on background_color from theme file. This is because sometimes people are not using background images, or they are small ...
Hmm no way to make it transparent using wmode or alphablending then?
I know that it should be possible using wmode.

What the gallery does is :
a] use the user determinded background color
b] if wiped from the config/mytheme.xml it will just replace it with a solid white background.

Would be a cool thing if possible ... but its not a high priority thing ;)
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Jan 2009, 22:18

Sure I will add it to list and consider any options.

I am however skeptical about using wmode ... Flash seems to be very slow when set to wmode for some reason.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

03 Feb 2009, 10:32

Now have fixed so that static background color will not display, and you can use WMODE. Update is pending for release within this week.
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

06 Feb 2009, 00:41

Really cool Karl :)
You are my hero :D
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

11 Feb 2009, 17:46

And how do I make it transparant in the new release ? can't seem to get it to work...

PS for some reason the gallery seems to be waaaaay slowwer :S
Only affects the admin side of the gallery

Thanks in advamce guys :)
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

12 Feb 2009, 16:03

Waaaaaay slower?? You sure you didnt changed hosting or something? Or maybe your site became popular?
firedev.com
 
User avatar
Patrick_D1985
Experienced
Topic Author
Posts: 149
Joined: 19 Jul 2008, 06:26

12 Feb 2009, 17:00

Well the flash gallery does load and such
but the admin side keeps giving me

Fatal error: Maximum execution time of 60 seconds exceeded in /home/pfsquad/domains/pfsquad.nu/public_html/Pictures/imagevue/include/ivFolder.class.php on line 223

If I re-install an older version I have no problems what so ever.
PFSquad : Party Freakz Online
Owner / Webmaster / Administrator / Head of Photography
Website : http://pfsquad.nu