Viewing 8 replies - 1 through 8 (of 8 total)
  • Without seeing the code inside your lazy-index.php its hard to say. You sure you have correctly pathed to the photos directory in that file? Did you specify the correct side of your sidebar in that file (it appears to be overwritten by the gallery)?

    Thread Starter pixelled

    (@pixelled)

    I didn’t change anything in the lazy-index.php.. i only configured the part where it says to configure which was the lazy-gallery.php but here is the code for the index one

    <?php
    /* Don’t remove this line. */
    require(‘./wp-blog-header.php’);
    ?>
    <?php get_header(); ?>
    <link href=”/wp-content/plugins/lazy-gallery/lazy-style.css” rel=”stylesheet” type=”text/css”>
    <?php if ($gallery_sidebar == ‘left’) get_sidebar(); ?>
    <div id=”content” class=”narrowcolumn”>
    <div id=”gallery”> <br/>
    <br/>
    <?php showGallery();?>
    </div>
    </div>
    <?php if ($gallery_sidebar == ‘right’) get_sidebar(); ?>
    <?php get_footer(); ?>

    Ok, sorry, I’m tired. The configuation section is in the lazy-gallery.php file found in your plugin directory. The section to change looks like this:

    // ———- Settings ———-
    // Configure these settings, to use the gallery.

    // Your gallery folder (this is where your pictures and picture folders are located).
    $gallery_address = ‘/albums/’;

    // Sidebar position
    $gallery_sidebar = ‘right’; // left or right

    // Add foldernames to exclude. (add more lines like this on more excludes.)
    $excluded_folders[] = ‘cgi-bin’;

    // Picture size
    $pictwidth = 400;
    $pictheight = 400;

    // Thumbnail size
    $thumbwidth = 110;
    $thumbheight = 110;

    // Thumbnail caching, will decrease server-load
    // the created image will be stored in a subdirectory (eg. /wp/wp-gallery/holiday/thumbs )
    $enable_cache = TRUE;
    $thumb_folder = “thumbs/”;

    Your gallery path might be wrong. The one above is for a directory called albums directly under the root.

    Thread Starter pixelled

    (@pixelled)

    yup, I changed it to /photo I think which is suppose to lead to fallen.pixelled.com/photo where I have my photos?

    Where is wordpress? Unless the wordpress files are in your root directory, I think the lazy-index.php is in the wrong location. On my site I have the following:

    http://www.me.us/wordpress/lazy-index.php
    wordpress/wp-content/plugins/lazygalley/lazy-gallery.php

    The location of the gallery would then be wp-content/albums/.

    It works on my site. Check it out.

    Correct, the line should read like:

    $gallery_address = ‘/photo/’;

    This works for me in that my photo directory is in the root as is my wordpress files and lazy-index.

    Thread Starter pixelled

    (@pixelled)

    oh wow.. this is embarassing… forgot the end quote mark =/ thanks for all your help!

    also, is there a way to make customized thumbnail for the images?

    You might want to get a more advanced version of lazy-gallery at http://www.keytwo.net/. That’s the version I use.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Lazy Gallery Problem’ is closed to new replies.