Topic: How to link to individual images within the gallery

Hi,

I have the SimpleViewer Pro licence.

How do I link to individual images within the gallery (not the jpg files)?

I also need this for integrating the Facebook Like button.

<meta property="og:title" content="[photo caption]" />
<meta property="og:url" content="[image page URL]" />
<meta property="og:image" content="[image URL]" />

What code should go into the image page URL place?

Re: How to link to individual images within the gallery

In order to link directly to pictures you need to use the SimpleViewer API, take a look at the direct linking example.

Mike Richards
SimpleViewer Support Team.

Re: How to link to individual images within the gallery

Hi,

I've implemented the deep linking for my SimpleViewer Pro Gallery, and it works fine. I can now link straight to the chosen picture from a regular url.
But when I add a link in Facebook to post on my wall, It doesn't get the thumbnail out of the link :
http://img51.imageshack.us/img51/4305/facebookyf.png

Is there a way to make it work ?
In this case, I used for the following example link : http://simpleviewer.net/simpleviewer/pr … t_link/#12

Thank you in advance,

kalagan

Re: How to link to individual images within the gallery

You can use the SimpleViewer API call getImageInfo() to pull the imageURL or the thumbURL. I don't use Facebook, so I don't know how the links work on that side, but if they use the imageURL or the thumbURL to link back to your site it will link back to your the image or the thumbnail file and not your gallery unless you can specify the link and the image.

Mike Richards
SimpleViewer Support Team.