Search…

X3 Photo Gallery Support Forums

Search…
 
Shane Shane
Topic Author
Posts: 22
Joined: 14 Oct 2012, 13:21

Sharing Gallery & Alt Video player

25 Oct 2012, 12:33

Hi,

I have my gallery embedded on my page and when i share to facebook when someone clicks the link it goes back to the gallery but only the gallery at full screen.
So my question is can I make it link back to the gallery embedded on the page?

http://www.shanemaritch.com/portfolio.html

Next question. Can I link my imagevue library or folders to other javascript players? Basically I want to utilize another video player but still use the imagevue library.
I have and want to keep using mp4s but dislike the lightbox. My goal is simple. I want a stationary box on an html page that just plays the video at the proper size.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Sharing Gallery & Alt Video player

26 Oct 2012, 03:33

For your first question, I believe you will need to edit a template file. Nick will answer you about this ..
Shane Shane wrote:Next question. Can I link my imagevue library or folders to other javascript players? Basically I want to utilize another video player but still use the imagevue library.
I have and want to keep using mp4s but dislike the lightbox. My goal is simple. I want a stationary box on an html page that just plays the video at the proper size.
I am not quite sure what you mean "link to other javascript players" ... Your folders in Imagevue are freely available, so any other gallery system that can read folders (or even use manual XML) could be used to access these images yes ... and yes, you could set up a 3rd party video player to simply load a video file that is available in the imagevue content folder.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Sharing Gallery & Alt Video player

26 Oct 2012, 08:21

As far as I can see the way gallery is embedded causes a javascript error for the SWFAddress script we use to deep link to flash. So this should be solved first, you got to copy the javascripts from the gallery index file to your portfolio.html.

There are two ways you can achieve what you want:

1. Move your custom HTML from the embed page to imagevue's iv-includes/templates/gallery.index.phtml
This way everything will work as it should


2. Edit iv-includes/templates/index.share.phtml so it redirects to your gallery
First you will have to fix the embed page anyway, because right the deep linking doesn't work, then change the following code in index.share.phtml:
Code
$refreshUrl = pageURL() . $refreshUrl . $this->item->getPrimary();
to something like
Code
$refreshUrl = 'http://www.shanemaritch.com/portfolio.html' . $refreshUrl . $this->item->getPrimary();
Frankly, I would rather customized Imagevue installation to resemble the look of your site and let it run fullscreen, it looks so much better this way.
firedev.com
 
Shane Shane
Topic Author
Posts: 22
Joined: 14 Oct 2012, 13:21

Re: Sharing Gallery & Alt Video player

20 Dec 2012, 01:14

Yes but the lack html functionality in the text page prevents me from doing so.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Sharing Gallery & Alt Video player

21 Dec 2012, 03:03

Shane Shane wrote:Yes but the lack html functionality in the text page prevents me from doing so.
I think he was referring to have Imagevue open as a separate page with the default Imagevue document, styled to match your website, but still keep your existing web page.