Topic: Link to a specific image

Hi, I created an online album using SimpleViewer v2.2, and now I want to have a link for a specific image in the album.

I search for a while but still can't get the answer. How shall I edit the following html code?

Appreciate if there is any help.


<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "600", "715", "FFFFFF", true);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

Re: Link to a specific image

In order to be able to link directly to any image within a gallery, please see the 'Direct Linking Example' using the SimpleViewer-Pro API here: http://simpleviewer.net/simpleviewer/pr … tml#direct
If all you want to do is always start a gallery at a specific image, you can use the firstImageIndex Pro Option as documented in the 'General Options' section of the 'SimpleViewer-Pro Config Options' page: http://simpleviewer.net/simpleviewer/pr … ml#general

Steven Speirs
SimpleViewer Support Team.

Re: Link to a specific image

May I know:

1. Does it mean that "Direct Linking" is a prerequisite to the firstImageIndex option?

2. Both configs are available to Pro version, but not standard version?

Re: Link to a specific image

1) firstImageIndex can be used without the need for the SimpleViewer-Pro API (and can be used independently of the 'Direct Linking' example)
2) Yes, both the firstImageIndex option and the SimpleViewer-Pro API are Pro-Only features

Steven Speirs
SimpleViewer Support Team.