• The gallery works just fine, BUT… when viewing Simple Viewer gallery in a post, it’s also showing the path to my pictures. Is it relly supposed to do that? Probably not.

    What’s wrong?

Viewing 5 replies - 1 through 5 (of 5 total)
  • No, it should not show the path to the pictures and I cannot imagine why it does.

    Can you provide the link off the post or copy the html code of it here (just the lines between <div class="entry"> of the post and the end of it should be enough)

    Thread Starter frylmark

    (@frylmark)

    OK, here’s the code:

    <div class=”post_content”>
    <p>Lorem ipsum dolor sit ame:

    </p>

    <div id=”flashcontent”>
    WP-SimpleViewer ( a plugin to include the SimpleViewer gallery into WordPress) requires Macromedia Flash. Get Macromedia Flash.

    This is a WPSimpleViewerGallery
    </div>
    <script type=”text/javascript”>
    var fo = new SWFObject(“https://www.borjefrylmark.se/testbloggen/wp-content/plugins/wp-simpleviewer/viewer.swf&#8221;, “viewer”, “100%”, “650”, “7”, “#343434”);
    fo.addVariable(“preloaderColor”, “0xffffff”);
    fo.addVariable(“xmlDataPath”, “https://www.borjefrylmark.se/testbloggen/wp-content/photos//gallery.xml&#8221;);
    fo.write(“flashcontent”);
    </script>
    <p>/testbloggen/wp-content/photos/

    Consectetuer adipiscing elit.</p>
    </div>

    ok, it looks like all your photos are placed in the folder photos directly, like /wp-content/photos/DS…

    and most probably your post looks like:
    Lorem ipsum dolor sit ame:
    svgallery=/testbloggen/wp-content/photos/

    in your case you should configure the plugin like this:
    Base directory for images:
    …/wp-content/

    And then write your post like this:
    Lorem ipsum dolor sit ame:
    svgallery=photos

    Try this and let me know if it helped you. there should only be the folder name behind “svgallery=” that the plugin has to append to the base directory for the images.

    Thread Starter frylmark

    (@frylmark)

    Thanks a bunch, fuggi! That solved my problem! ??

    Hey, good to hear that it is working now!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem when viewing gallery in post’ is closed to new replies.