Topic: no images loaded with SimpleViewer Pro embedded in Wordpress

Hey at all,

yesterday I've purchased SimpleViewer Pro and the svmanager.
I have done following:
- installed svmanager on my server
- updated the svcore folder below svmanager\plugins\simpleviewer2\sv2master with the propriate folder of simpleviewer_pro_220
- created a simpleviewer pro-gallery with the svmanager,
- tried to embed this gallery to a WordPress posting using the method "Using an External Gallery Folder > Using BaseURL"

The gallery created by the svmanager can be viewed:
http://hella-stroh.de/svmanager/g3/

On the WordPress site with the embedded gallery, only the black background can be seen, there is no error message (on IE8, IE9 and Firefox 9.0.1), but no images are loaded:
http://hella-stroh.de/weblog/galerietest

The code for embedding is following:

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

Anyone who can help me?

Regards,
Hella

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

Try removing the galleryURL entry from your embedding code. It is not required when using a baseURL when the XML file is named 'gallery.xml' and is in the baseURL folder (as it is in your case).
Failing that, try using absolute URLs or relative URLs (relative to the HTML page containing the embedding code) for the paths of the 'simpleviewer.js' file and the baseURL (rather than preceding the paths with a slash to signify the root).

Steven Speirs
SimpleViewer Support Team.

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

I've modified the embedding code, but I cannot see a change in the behaviour:

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

Is there a possibility to debug the script and to check the paths?

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

The gallery itself and your embedding code both look OK, although you could change:

simpleviewer.load("sv-container", "100%", "100%", "222222", "true", flashvars);

... to:

simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);

... as the useFlash Embed Code Parameter should be boolean rather than a string.
Try checking the CSS heights of all parent containers of the 'sv-container' <div> on your page as described in this FAQ: http://simpleviewer.net/simpleviewer/su … ml#embed_7

As an alternative, you could try replacing the embedding code with the following <iframe> code to see if this works:

<iframe src="http://hella-stroh.de/svmanager/g3/" width="800" height="600" frameborder="0" scrolling="0"></iframe>
Steven Speirs
SimpleViewer Support Team.

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

All adaptions using the script to embed the gallery didn't work. I do not think, that there are height-limiting containes around the div "sv-containter".

Only way to integrated the gallery seems to be the iframe-method.

_____________________

EDIT:
Is it possible, that with embedding via iframe does ignore some settings like thumbnail position?
Or do I have a refreshing or saving problem with the svmanager?

_____________________

Regards,
Hella

Last edited by come_paglia (2012-01-16 16:21:38)

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

Is it possible, that with embedding via iframe does ignore some settings like thumbnail position?

No. All gallery options (with the exception of the 'Fullscreen Button' in the Mobile Player which is disabled) work fine when a gallery is embedded using an <iframe>.

Steven Speirs
SimpleViewer Support Team.

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

Try temporarily reverting to the default WordPress theme to see if the gallery then displays OK.
If so, then there may be an incompatibility between SimpleViewer and your theme, in which case, using an <iframe> might be a suitable workaround.
If the gallery still does not display, then try also temporarily deactivating all your plugins, clear your browser's cache, reload the page with the gallery and see if it displays. If is does, then reactivate your plugins one-by-one until you find the plugin which is incompatible.

Steven Speirs
SimpleViewer Support Team.

Re: no images loaded with SimpleViewer Pro embedded in Wordpress

Deactivating all plugins did not solve the problem, but returning to the WordPress standard theme.
So I will contact the author of my WordPress theme. Maybe he can support finding out what produces the conflict.

Thank you again,
Hella Stroh

Last edited by come_paglia (2012-01-19 16:09:23)