Topic: Is it possible to use links on the back of the images

Hi Love the tiltviewer.  Thanks so much for sharing.  I wondered whether it was possible to have the image on one side and on the reverse link to another page in my website.

Re: Is it possible to use links on the back of the images

In the html linkLabel is the option for the link text on the back side of the card, it is the same for all images.

In the xml change linkurl to where ever on your site.

<photo imageurl="imgs/img.jpg" linkurl="http&#58;//www.google.com">

http://www.simpleviewer.net/tiltviewer/ … tions.html

Mike Richards
SimpleViewer Support Team.

Re: Is it possible to use links on the back of the images

So, in the html index file, how do I customize the website being referenced? I see the linkLabel option, but where do I modify the linked address? I don't want to go to the information page on Flickr, but to my own website. Is it embedded in the .swf file?

Last edited by andersunz (2009-07-30 21:15:24)

Re: Is it possible to use links on the back of the images

Custom links only work for XML galleries, not Flickr galleries. Since Flickr galleries pull the image info from flickr, there is no way to specify links for each image.

To create an TiltViewer XML gallery, check here: http://www.simpleviewer.net/tiltviewer/ … truct.html

Felix Turner
SimpleViewer Support Team.

Re: Is it possible to use links on the back of the images

Hi Felix,

I have a similar problem to what was mentioned above.
Although I can easily add linkurl to my gallery.xml set up which is being used, the link on the back of a picture still says "Go to Flickr page". If clicked it will go to the url I have assigned but it is the display of this which is the problem.

Is this something that can be changed?

Many Thanks

Just to add, it is the pro version I am using, if that makes a difference or not.

Last edited by Bilb (2009-08-08 16:47:59)

Re: Is it possible to use links on the back of the images

The option you need is "linkLabel".

Mike Richards
SimpleViewer Support Team.

Re: Is it possible to use links on the back of the images

Thanks miker,

I totally missed that for some reason.

Re: Is it possible to use links on the back of the images

Hi there,

I have added my link URL in my XML gallery, as instructed and I've changed the link label to 'find out more...' but I'm still getting the 'go to Flikr page' label and the button doesn't link to my URL. What have I done wrong or not done?!

Re: Is it possible to use links on the back of the images

You can't change the link label if you are using flicker, it only works with XML galleries.

Mike Richards
SimpleViewer Support Team.

Re: Is it possible to use links on the back of the images

Thanks for your reply. I'm not using Flikr though and I have put ("useFlickr", "false") in the index file. Is there something else I have missed?

Thanks

Re: Is it possible to use links on the back of the images

If you are using XML and not Flickr all you should have to do is set showLinkButton to true, change the linkLabel and add the links in your XML.

Mike Richards
SimpleViewer Support Team.

Re: Is it possible to use links on the back of the images

Thanks Mike - I hadn't realised you need to remove the // before the option in the index file! I now have a new problem though - sorry! I am trying to link to our website www.cc4g.net so in my XML gallery I have put linkurl="www.cc4g.net'.

When I click on my link it tries to find the webpage in the local folder where my tiltviewer files are saved. I have also tried this with www.google.com to see if it's just our website but the link doesn't work at all then.

Re: Is it possible to use links on the back of the images

Yeah the double slash comments out the code so that it is not run.

You need to add http:// to the link, for example http://www.google.com.

Mike Richards
SimpleViewer Support Team.