Forums

My Lazy gallery is being LAZY (34 posts)

  1. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Hiya- I posted here earlier and got some help- but my helper had to leave. =o( My website is http://leavesofivy.com and I installed a Lazy gallery and everything should be working- but the images are broken. I need someone to look and tell me where i screwed it up. Thanx.

  2. mizzmuzikluvr
    Member
    Posted 6 years ago #

    please help me?

  3. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Oh and here's my gallery page. http://leavesofivy.com/WORDPRESS/lazy-index.php

  4. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Aww- no one knows how to help? I've searched the other posts and none answer my Q....

  5. vkaryl
    Member
    Posted 6 years ago #

    PLEASE don't bump threads this fast! If someone knew, they'd have posted. Now no one knows that your thread hasn't been answered.

    Generally, if you don't get an answer within 24 hours, THEN you are okay to bump the thread.

  6. georgianlady
    Member
    Posted 6 years ago #

    From what I could tell, you have your pictures in wp-gallery, as the picture links on individual pages link to the right picture if clicked but you are calling img tags for: ./wp-content/plugins/lazy-gallery/lazy-img.php?... so there must be something in what you have in your plugin that is looking somewhere different for the thumbs, not coded right, or something.

    I'm not saying that is it for sure, but your pictures are in a folder at the blog root, and your plugin is in the plugins folder. I don't know what your plugin is like, but the gallery types I've used reside pictures in the same place as most of the plugin files, or have a specific config file to put the path to pictures and/or thumbs, etc.

    So check into all your plugin files for paths and such that need to be changed.

    Just ideas to explore.

  7. jonimueller
    Member
    Posted 6 years ago #

    Also, I notice your wordpress directory is called "WORDPRESS" rather than "wordpress".

    You should be aware that *.nix server file and directory names are case-sensitive, so that the following represents (to the server) three different files:

    myphoto.jpg
    MYPHOTO.jpg
    MyPhoto.jpg

    This goes for directories as well. Just FYI. To save yourself headaches, try to develop the habit of all upper or lower case, and decide what you want to use to break up words, a hyphen or an underscore. And be consistent. Thsi could be one reason your links are broken.

  8. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Thankyou for drawing that to my attention- and I have noticed the caps quirk =o) It because when my system downloads a file- it saves in in caps. So I didnt bother to change the folder when I installed the files and now I'm stuck with it.

    And to georgianlady:

    Thankyou for your advice, but I dont think you realize precisely how cluless I am here. When I look at script it makes my head ache. Its hard enough for me to find the stuff that needs to be edited =o) So I don't know to check tags or paths. Thankyou for you help though.

  9. jwurster
    Member
    Posted 6 years ago #

    What version of lazy-gallery are you using? If you have the newest version then there is an Options for setting up lazy-gallery in WP.

    What does the variable $gallery_address look like in the lazy-gallery.php? Mine is:

    $gallery_address = '/wordpress/wp-content/albums/';

  10. mizzmuzikluvr
    Member
    Posted 6 years ago #

    I have the latest version. And I'm affraid I never noticed a WP option. My adress is
    $gallery_address = '/WORDPRESS/wp-gallery'; so it should work. When I look at the broken links on the page- the names are the same as the imagees I have in the folder- but the images arent displayed.

  11. Xyth
    Member
    Posted 6 years ago #

    I had a similar problem until i changed to version .4++ found at:
    http://student.kuleuven.be/~s0164195/lazy-gallery/

    Its caching of the tumbnails resolved my no display issue.

  12. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Thankyou for the link- What exactly am I supposed to do to upgrade?

  13. mizzmuzikluvr
    Member
    Posted 6 years ago #

    alright scratch that. I replaced the files wiht the ones you linked me too and now I can see the thumbnails! But I'm still having troubles, when I click on an image to view it, nothing shows.

    http://leavesofivy.com/WORDPRESS/lazy-index.php

    And my sidebar doesnt show either. Oh, its so close to working. I just wanna fix these few bugs....

  14. flakkito
    Member
    Posted 6 years ago #

    I havent used Lazy Gallery but with my experience with other galleries it sounds as if you need to chmod (permissions) the cache folder(s) to 777. If that wont help then you probably need to check the file path.

    Rob

  15. mizzmuzikluvr
    Member
    Posted 6 years ago #

    thankyou- I did change all of the permissions to 777 so I still dont know whats going on. It brings up a page that looks like it should show this image- but the image isnt there.

  16. flakkito
    Member
    Posted 6 years ago #

    alright I think we might have hit paydirt. Looking at your source code you have 2 warnings:

    <style type="text/css">
    <br />
    <b>Warning</b>: main(./wp-content/plugins/lazy-gallery/lazy-style.css): failed to open stream: No such file or directory in <b>/home/kayla/public_html/WORDPRESS/lazy-index.php</b> on line <b>11</b><br />
    <br />
    <b>Warning</b>: main(): Failed opening './wp-content/plugins/lazy-gallery/lazy-style.css' for inclusion (include_path='.:/usr/lib/php') in <b>/home/kayla/public_html/WORDPRESS/lazy-index.php</b> on line <b>11</b><br />
    </style>

    Also, when I click your first thumbnail it takes me to the second larger version which does load but just isn't visible. If I click on the second image it does load the full size pic in a new window as it should. So fix the path to your lazy gallery css file and you should be good to go.

    Rob

  17. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Well I'm very glad that you have found out whats wrong. Sadly- I dont know what I'm supposed to do to fix what you said was wrong...have I mentioned I know nothing of any of these codes?

  18. mizzmuzikluvr
    Member
    Posted 6 years ago #

    And I just realized something else. When you saw my site and were able to click on the "invisible" image I wsa testing a new theme. When I went back ot my old theme, there is no longer an 'invisible' image, and this way you cant get to the image at all.

  19. flakkito
    Member
    Posted 6 years ago #

    Well I hear you re: code but just jump in, ya gotta learn sometime. It aint hard:) Look for this:

    ./wp-content/plugins/lazy-gallery/lazy-style.css

    Try changing it to the full directory path like so:

    http://leavesofivy.com/WORDPRESS/wp-content/plugins/lazy-gallery/lazy-style.css

    or :

    /wp-content/plugins/lazy-gallery/lazy-style.css

    Notice I just remove the period in front of /wp-content. I dont know where you need to change this cuz I dont use this plugin but chances are there is a config.php or settings.php file or something similiar. Its trying to pull the css file it needs but until the path is correct you'll have this problem.

    Rob

  20. Xyth
    Member
    Posted 6 years ago #

    I had issues with the sidebar not showing in about 1/2 the templates I used. I added this line: <?php get_sidebar(); ?> right after this line: <?php get_header(); ?> into the lazy-index.php file.

  21. Xyth
    Member
    Posted 6 years ago #

    Ok, I think this is your problem, you have nested two lazy-gallery folders. Your .css file is really at http://leavesofivy.com/WORDPRESS/wp-content/plugins/lazy-gallery/lazy-gallery/lazy-style.css

    You need to move the two files in that second lazy-gallery folder up to the lazy-gallery folder above it. Cheers.

  22. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Sigh. I'm sorry to be such a bother- you all have been so helpful and you must feel like you are talking to a wall. What files am I moving to what folder? (oh, and thanx for the tip about the sidebar)

  23. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Thankyou again for the sidbar tip- but whe I do it, it keeps the sidebar...but starts the gallery underneath the sidebar.
    Here's a link http://leavesofivy.com/WORDPRESS/lazy-index.php

  24. Xyth
    Member
    Posted 6 years ago #

    Not a problem. You have two files in the folder at: /plugins/lazy-gallery/lazy-gallery/

    They are lazy-style.css and lazy-img.php. Move those two file out of that folder and put them in the folder at: /plugins/lazy-gallery/

  25. Xyth
    Member
    Posted 6 years ago #

    On the sidebar thing, that should fix once the code can find the lazy-gallery stylesheet, which will be solved when you move it and its comapnion file to the proper directory as per above.

  26. mizzmuzikluvr
    Member
    Posted 6 years ago #

    ::tears of joy::: This is me, worshiping th ground that all of you walk on. =o) IT shows the images no! wOOt! =o)

    But- there is bad news....

    It still shows up under the sidebar. =oD So if that one quirk could be fixed- I would be eternally grateful as an artist and a computer user.
    http://leavesofivy.com/WORDPRESS/lazy-index.php

  27. flakkito
    Member
    Posted 6 years ago #

    you can try putting the sidebar code <?php get_sidebar(); ?> after the code you use to call the gallery. So for example try putting it above the call to the footer and below the call to the gallery.

    Something like:

    <?php get_gallery ?>
    <?php get_sidebar ?>
    <?php get_footer ?>

    Give it a go and you'll find it:)

    Best of luck,

    Rob

  28. mizzmuzikluvr
    Member
    Posted 6 years ago #

    Sadly- I cannot find those things in the file. Would it be right in the Lazy gallery Php?

  29. jwurster
    Member
    Posted 6 years ago #

    If you go to http://www.jwurster.us/wordpress/ and click on the Lazy Gallery link in the right sidebar, you'll see how I have modified the lazy-index.php file to work with the look of my site.
    jim

  30. Xyth
    Member
    Posted 6 years ago #

    Your lazy-index.php should probably work if it looked like this:

    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <!-- <link href="./wp-content/plugins/lazy-gallery/lazy-style.css" rel="stylesheet" type="text/css" /> -->

    <style type="text/css">
    <?php include("./wp-content/plugins/lazy-gallery/lazy-style.css"); ?>
    </style>

    <div class="narrowcolumn">
    <div id="gallery"> <br/>
    <br/>
    <?php showGallery();?>
    </div>
    </div>

    <?php get_footer(); ?>

    The only change I made was to move one line. I moved the line "<?php get_sidebar(); ?>" up to right below "<?php get_header(); ?>" I hadd the same problem and this worked for me. Your mileage may vary.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags