Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Can I embed imagevue with a specific album?

06 May 2013, 13:39

Hello there, hope everything is ok!

Just a quick question, I searched but did not find answers, apologize if already asked:

Can I embedd imagevue pointing to a specific album? I mean, I'd like to embedd my gallery from an HTML page. I managed to do it, but now I'd like to point the embedded gallery to a specific album. Additionalyy I'd like to know if it's possible to pass atributes to this album (no menu needed)

Thanks for your time, have a great day! :-)

:D
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Can I embed imagevue with a specific album?

07 May 2013, 03:56

Yes, you can pass parameters/attributes to the gallery from within your custom HTML document, including setting a path to a specific folder/gallery. If you are using similar embed method as the default gallery, you would have Flashvars, something like this:
Code
var flashVars = {
	startpath: 'folderName'
};
There are a few different settings you can set like this through flashvars. However, many settings require you to use the parameters syntax, as basically you are overwriting options from the Imagevue settings structure.
Code
var flashVars = {
	startpath: 'folderName',
	[b]parameters: 'menu.mainmenu.enabled=false|settings.startmode=image'[/b]
};
Using parameters like this with | to separate each parameter, works identical to folder parameters which is documented here:
https://www.photo.gallery/documentation/folder-parameters/
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Re: Can I embed imagevue with a specific album?

07 May 2013, 05:38

Thank you for your answer!
I did not find "var flashVArs" in my code (taken from embed example file)

I tryed including variabls this way:
Code
 <script type="text/javascript">
			//<![CDATA[
				swfobject.embedSWF("http://www.studioboda.com/reportaje/iv-includes/imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "http://www.studioboda.com/reportaje/iv-includes/expressInstall.swf", null, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
				var flashVars = {
   startpath: 'bw',
   
};
			// ]]>
			</script>
But not working :-(
if I add parameters the iframe shows as if I do not have flash or java....

Could you please help me?
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Can I embed imagevue with a specific album?

07 May 2013, 10:38

Try this:
Code
<script type="text/javascript">
         //<![CDATA[
var flashVars = {
   startpath: 'bw'
};
            swfobject.embedSWF("http://www.studioboda.com/reportaje/iv-includes/imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "http://www.studioboda.com/reportaje/iv-includes/expressInstall.swf", flashVars, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
         // ]]>
</script>
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Re: Can I embed imagevue with a specific album?

07 May 2013, 11:49

Hello!

I just tryed the code but get the same behavure. If I put only the startpath nothing happens, if I put parameters, the iframe behaves as if did not find flash player....

I'm doing the embedding form a different site, could be this the problem?

The html is here, if you want to check:
http://www.studioboda.com.ar/index1.html

And the imagevue gallery is here: http://www.studioboda.com/reportaje

Thanks for your help!
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Can I embed imagevue with a specific album?

09 May 2013, 00:27

tinorebel wrote:And the imagevue gallery is here: http://www.studioboda.com/reportaje
So I checked this link, and the code I asked you to add is not there
Code
var flashVars = {
   startpath: 'bw'
};
Furthermore, if you are getting errors, it likely means you have some code error that breaks the javascript.
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Re: Can I embed imagevue with a specific album?

11 May 2013, 07:01

Thanks for your help.
I just started from embedd_example.html to avoid possible errors in the page.
i have tryed the code and still can't make it work.
I would greatly appreciate if you could check it here:

http://www.studioboda.com.ar/embed_example.html

Same problem, if I add
Code
var flashVars = {
   startpath: 'bw'
};
nothing happens.

If I add the parameters code, the Iframe just does not work and the alternative message shows out.

Have a nice day!
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Can I embed imagevue with a specific album?

11 May 2013, 08:39

But you are not adding the code that I posted ... In my original post, I posted this:
Code
<script type="text/javascript">
         //<![CDATA[
var flashVars = {
   startpath: 'bw'
};
            swfobject.embedSWF("http://www.studioboda.com/reportaje/iv-includes/imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "http://www.studioboda.com/reportaje/iv-includes/expressInstall.swf", flashVars, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
         // ]]>
</script>
This is yours:
Code
<script type="text/javascript">
			//<![CDATA[
var flashVars = {
   startpath: 'bw'
};
				swfobject.embedSWF("http://www.studioboda.com/reportaje/iv-includes/imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "http://www.studioboda.com/reportaje/iv-includes/expressInstall.swf", null, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#000000'}, {id: 'imagevue', name: 'imagevue'});
			// ]]>
			</script>
There is not a world of difference, but where you have the value NULL, it should says FLASHVARS like in my example.

I don't know why it does not work with parameters if I can't see it, but likely you left out a comma some where to separate objects and variables, which breaks the javascript.
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Re: Can I embed imagevue with a specific album?

13 May 2013, 07:29

Hello, thank you mjau-mjau for your support.

I have modified the code and now I'm able to load the iframe with the album I want.
I was able to use parameters in this form:
Code
var flashVars = {
   startpath: 'folderName',
   parameters: 'menu.mainmenu.enabled=false|settings.startmode=image'
};

Without "and"

The problem is that now when I clic on a photo it does not display as it should... it does not display at all!
cheched on safari and firefox.

The problem seems that it does not fid:

http://www.studioboda.com/reportaje/bod ... 4394%2Ejpg

seems as if a slash "/" is missing
The html document is online here: http://www.studioboda.com.ar/embed_example.html

Thanks again for your help.
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
tinorebel
Experienced
Topic Author
Posts: 24
Joined: 22 Jun 2011, 12:47

Re: Can I embed imagevue with a specific album?

13 May 2013, 07:36

I was able to solve it, i just added a slash at the end of the startpath, this way:
Code
var flashVars = {
   startpath: 'bw/',

};
And the parameter is working this way:
Code
var flashVars = {
   startpath: 'bw/',
   parameters: 'menu.mainmenu.enabled=false|settings.startmode=image'

};
Imagevue roks!

:D
Fotógrafo Reportajes de Boda http://www.studioboda.com
Destination Wedding Photographer in Spain http://www.studioboda.com/english.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Can I embed imagevue with a specific album?

14 May 2013, 05:59

sweet! :D