Topic: [SOLVED] simple viewer pro wordpress

I have followed (or try to...) our instruction to work with my version of svbuilder pro and wordpress by fllowing this answer, you gave on an other post..(sorry for english/french)

""You can follow this procedure.
(1) Create a gallery using svBuilder-Pro.
(2) Upload the complete gallery folder (not just the contents) to your web server using an FTP program such as Filezilla.
(3) Embed the gallery in your WordPress page or post using the baseURL method of embedding documented here.
It does not matter where on your web server you upload your gallery folder to as long as the two paths within the baseURL embedding code (the path to the 'simpleviewer.js' file and the baseURL itself) are correct."

but somethting is not working


i have download my gallery in this temporair adresse http://www. cktraiteur.com /wordpress/mygallery

(copy the link/ don't want it to be seen in google for the moment, I put some space between ww.. )

this the line I have copy in my page, in the text part (not the visual of course)

can you help ?
if I go on this page, it works http://www.  cktraiteur.com    /wordpress/mygallery/
but not this one (on the web site)
cktraiteur.com   /wordpress/en-images/


<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.cktraiteur.com/mygallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.  cktraiteur.com/wordpress/mygallery/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

Last edited by creizic (2013-12-02 09:47:06)

Re: [SOLVED] simple viewer pro wordpress

The embedding code you posted above includes the following line:

<script type="text/javascript" src="http://www.cktraiteur.com/mygallery/svcore/js/simpleviewer.js"></script>

... but the 'simpleviewer.js' file is not located there on your web server.
Change the above line of code to the following:

<script type="text/javascript" src="http://www.cktraiteur.com/wordpress/mygallery/svcore/js/simpleviewer.js"></script>
Steven Speirs
SimpleViewer Support Team.

Re: [SOLVED] simple viewer pro wordpress

still not working,
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.cktraiteur.com/wordpress/mygallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.cktraiteur.com/wordpress/mygallery/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

th emssage is galery xml not found...

Re: [SOLVED] simple viewer pro wordpress

Here are a few issues which should be addressed:

(1) If you are embedding a SimpleViewer gallery manually in a WordPress page or post, try deactivating WP-SimpleViewer (the SimpleViewer plugin for WordPress). Otherwise, you will have two versions of the 'simpleviewer.js' file loaded in your page.

(2) When going to http://www.cktraiteur.com/wordpress/en-images/ the user is redirected to http://cktraiteur.com/wordpress/en-images/ (without the 'www' subdomain).
Therefore, if using absolute URLs in your embedding code, use cktraiteur.com rather than www.cktraiteur.com.
Otherwise, just use a leading slash to denote your root directory (which should work on both cktraiteur.com and www.cktraiteur.com).

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="/wordpress/mygallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "/wordpress/mygallery/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

(3) The height of your gallery is very small when viewed in Firefox. This is due the issue discussed in this FAQ:
My gallery does not show in Firefox or gets cropped to a small height. Why?

In a WordPress environment where it may be difficult to control the dimensions of the gallery's parent containers, the easiest solution would be to give your gallery a fixed height (rather than define your gallery's height as a percentage).
Try the following embedding code:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="/wordpress/mygallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "/wordpress/mygallery/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "600", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: [SOLVED] simple viewer pro wordpress

I just have one world : thanks a lot

evrything works and it's so great smile