Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorjcb3030
    • CommentTimeMar 12th 2006
     
    I'm getting all broken images on my plogger gallery here: http://www.belinski.net/photos.php

    I'm sure I have a directory path problem, but don't know how to solve it.

    I have all my plogger files in the /plogger directory. All my php files are at the root, except for plogger php files. I'm calling plogger from a php page with the following code:

    <?php include("plogger/gallery.php"); ?>
    <?php the_gallery_head(); ?>
    <?php the_gallery(); ?>

    I've made no other changes to plogger files. How can I call the images from the correct directory?

    Many thanks.
    •  
      CommentAuthormike
    • CommentTimeMar 12th 2006
     
    For version 2.1, you need to have your gallery page in the same directory as gallery.php.

    Basically, just change include("plogger/gallery.php") to include("gallery.php"). And copy and move photos.php to /plogger/index.php. Then just update the links on your site to point to the new file.

    The next version will allow you to include Plogger from any file on your website. But for now, you have to stay within the Plogger directory.