Page 1 of 1

Open gallery in fullscreen mode or image in max size ?

Posted: 25 Nov 2008, 07:25
by Watts
Hi all,
is it possible open gallery on fullscreen mode directly ?
Or
Is it possible to open gallery with image max size directly ?

Thanks.

Posted: 25 Nov 2008, 22:43
by mjau-mjau
You can't open fullscreen directly - The user has to CLICK a button. This is because of flash security.

If you are using a filemod or a textpage as your startpage, you can easily add a link "view fullscreen" - See the example on our demo page that I just added:
https://www.photo.gallery/soda/

You can add it as a link in normal text, like this:
Code
Click <a href="asfunction:_root.togglefullscreenfunc">here</a> to view the gallery fullscreen - Click the image below to go to first gallery
If you are using filemod/photoblinds as startpage, you can also set the gallery to go fullscreen when clicking the image/file display. Just set "click=togglefullscreen" in the parameters for the filemod.

Posted: 26 Nov 2008, 05:13
by MorningWood
I copied the code in my textpage like you said. It shows up nicely and the link is there. But when i click the link, nothing happens... :?

Am i missing something?

Posted: 26 Nov 2008, 20:57
by mjau-mjau
I believe I edited that post yesterday. It said "togglefullscreen" instead of "_root.togglefullscreenfunc" ...

If you have that and it's not working, can you give a link?

Posted: 27 Nov 2008, 05:22
by MorningWood
You have a PM :)

Posted: 27 Nov 2008, 09:53
by mjau-mjau
When I click the link "click here to open gallery fullscreen", the gallery opens fullscreen as it's supposed to. I don't see anything wrong ...

Posted: 27 Nov 2008, 10:44
by MorningWood
Arrrgghhhh i know what went wrong... it didn't work in IE, i did not test it in eg. safari.

It works over here now too... Sorry for being such a noob :evil:

Could you please check if you see the clickable image in the "testing image link" section of the menu??? 'Cause it's driving me nuts!!
Sorry to take so much of your time...

Posted: 27 Nov 2008, 10:50
by mjau-mjau
No, it's not displaying because you have added your <img> like this:
Code
<img src="#/content/Update/pic2.jpg/" ...
#/content/Update/pic2.jpg/ is not a file ... It is a link that you can use to refer to images in the gallery through the URL. I think you should be using something like:
Code
<img src="content/Update/pic2.jpg" ...

Posted: 27 Nov 2008, 10:58
by MorningWood
Image

YOU ARE THE BEST!!!!

It works now... damn... Thanx Bro!!!

Please check the second video ;) You are always welcome there!!!! With cocktails on me!!! ;)

Posted: 09 Feb 2009, 09:45
by Nick
Sorry... Where is the video?

Posted: 09 Feb 2009, 09:48
by MorningWood
Click

Language spoken is dutch, and was recorded after drinking some :twisted: cocktails mentioned earlier ;)

Posted: 14 Jan 2010, 12:29
by lumacraft
Is there a way to add an item to the main menu, to switch to full screen?

I tried making the menu item a link folder, using as the contents of the link field

asfunction:_root.togglefullscreenfunc

but that didn't work.

Posted: 15 Jan 2010, 02:25
by mjau-mjau
lumacraft wrote:Is there a way to add an item to the main menu, to switch to full screen?

I tried making the menu item a link folder, using as the contents of the link field

asfunction:_root.togglefullscreenfunc

but that didn't work.
Unfortunately that wont work because this actionscript-level function only works inside HTML <a> links, and the menu doesnt use HTML tags ...

I should be able to integrate an easy fix for this in the next release though, if its still wanted!

Posted: 15 Jan 2010, 10:46
by lumacraft
mjau-mjau wrote:I should be able to integrate an easy fix for this in the next release though, if its still wanted!
:idea: It gets my vote! :idea: