Topic: [Solved] __Gallery Thumbnails Very small

[Quick Edit]
I just find out that changing from
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);  to
simpleviewer.load("sv-container", "800%", "800%", "222222", true, flashvars);

i get a "normal" gallery

[End of Edit]


Hi there,

first, i'd like to say, that i'm very new to simpleviewer and wordpress, there is a lot i don't understand yet, but i'm working on it.

here's my problem:
i create the galery with photoshop script, so it creates all the files necessary.
then i upload everything to my server, and in a new post i add the code:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://jpscolari.fr/wp-content/uploads/OZ/act/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://jpscolari.fr/wp-content/uploads/OZ/act/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

When you look on my post, the gallery is a small square. This is my main issue !!
why i cannot have a bigger gallery ?
if i press the fullscreen button, i can see all my images thumbnails and my selected image bigger.
but in my post it's small ...

http://jpscolari.fr/2012/01/australian- … territory/

And a new problem occured to me, i buy a theme from ThemeForest and now when i press the simpleviewer icon (eye) inside a post, i have this error message :

Fatal error: Call to a member function admin_init() on a non-object in /homez.365/jpscolar/www/wp-content/themes/dk/plugins/shiba-media-library/shiba-media-library.php on line 182

do you guys have any ideas ?

Thank you for your help and support !!

Last edited by gepetto38 (2012-03-13 16:13:27)

Re: [Solved] __Gallery Thumbnails Very small

When you look on my post, the gallery is a small square. This is my main issue !!
why i cannot have a bigger gallery ?

Your gallery's dimensions are 100% x 100%. This means 100% of the gallery's parent container (rather than the entire browser window). Perhaps your current theme is restricting the size of the gallery. Try setting the gallery's dimensions in absolute pixel values instead of percentages, eg:

simpleviewer.load("sv-container", "800", "600", "222222", true, flashvars);

Otherwise, try temporarily reverting to the default WordPress theme to see if this makes any difference.

And a new problem occured to me, i buy a theme from ThemeForest and now when i press the simpleviewer icon (eye) inside a post, i have this error message :

Fatal error: Call to a member function admin_init() on a non-object in /homez.365/jpscolar/www/wp-content/themes/dk/plugins/shiba-media-library/shiba-media-library.php on line 182

It looks like your new theme may be somehow overriding the default WordPress Media Library which is used by WP-SimpleViewer.
However, if you create your gallery using Photoshop, then there is no need to install WP-SimpleViewer and click the 'Eye' icon to create a gallery. Just upload the complete gallery folder to your web server and embed the gallery in a post using one of the two methods described here: http://simpleviewer.net/simpleviewer/su … l#external

Steven Speirs
SimpleViewer Support Team.

Re: [Solved] __Gallery Thumbnails Very small

Hey Steven,

thank you for your quick reply, no i can see it working! Also on my mobile !!!

Have a good day !