• Resolved dewaun

    (@dewaun)


    Help! Need some help from users of the WP Lightbox plugin.

    I have installed and activated the Lightbox plugin and it’s not working on my blog. (LINK to my blog)

    Not sure what I’m doing wrong. Not sure how I add the rel="lightbox" tag

    Seemed so easy — load plugin, activate, add photos to post and add rel="lightbox"

    Help…what am I doing wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m afraid I can’t help you much. But just in case you can’t get it to work, I use a different Lightbox plugin that can be found here: https://www.m3nt0r.de/blog/lightbox-wordpress-plugin/
    It works really well for me. Plus it adds the rel=”lightbox” to images automatically.

    You don’t need to put (e.g.) rel="lightbox[Spring Flowers]" in the <img> tag for the thumbnail, that’s just for the full-sized image.

    Also, did you add the three Javascript files into your header and append the Lightbox CSS file to your stylesheet?

    Thread Starter dewaun

    (@dewaun)

    @jabecker: thank you, I may need to try this.

    @breakingball: no, I didn’t do any of that…the readme didn’t include any of that info. Thanks…well, that seems to be my problem.

    Thanks!

    I also have a problem with lightbox and i’m wondering what Breakingball means by “the 3 javascript fils into your header” and “append the lightbox ccs”
    does anybody know?
    my website: https://www.eediete.nl/keuken
    (I have downloaded and installed lightbox 2.02, version 0.6.3)
    or what else to do?

    Your problem is with this…

    <!– Lightbox 0.6 Plugin: THERE WAS AN ERROR FINDING YOUR PLUGIN DIRECTORY –>
    <!– I checked at: /home/httpd/vhosts/eediete.nl/httpdocs/keuken/httpdocs/keuken/wp-content/plugins/lightbox-plugin/ –>
    <!– and also at: /home/httpd/vhosts/eediete.nl/httpdocs/keuken/httpdocs/keuken/wp-content/plugins/lightbox-plugin/ –>
    <!– Go to ‘Administration > Options > General’ and try to fix the URL settings. –>

    If you check your settings and are still having problems, let me know and we can set the path manually in the plugin itself.

    Doeiii ??

    Ha JamesICT,
    Thank you for your quick reply, but i don’t understand what you’ve tried and what i should change.
    The URL-settings i found are: https://www.eediete.nl/keuken
    for both wordpress and my blog.
    what next?
    Edith
    https://www.eediete.nl/keuken

    You have:

    <link rel="stylesheet" href="https://www.eediete.nl/keuken/wp-content/plugins/lightbox-plugin/lightbox2.css" type="text/css" media="screen" />

    This should be:

    <link rel="stylesheet" href="https://www.eediete.nl/keuken/wp-content/plugins/lightbox/lightbox.css" type="text/css" media="screen" />

    You have:

    <script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox-plugin/js/prototype.js"></script>
    	<script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox-plugin/js/effects.js"></script>
    	<script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox-plugin/lightboxjs.php?path=https://www.eediete.nl/keuken/wp-content/plugins/lightbox-plugin/"></script>

    This should be:

    <script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox/js/effects.js"></script>
    	<script type="text/javascript" src="https://www.eediete.nl/keuken/wp-content/plugins/lightbox/js/lightbox.js"></script>

    The Lightbox folder inside your plugins folder should be called “lightbox,” not “lightbox-plugin.”

    Also, where you have:

    <a href="https://www.eediete.nl/keuken/pics/gebakken%20asperges.jpg"title="Caption on image" rel="lightbox[Name]" ><img title="gebakken asperges" alt="gebakken asperges" src="https://www.eediete.nl/keuken/pics/gebakken%20asperges.jpg" /></a>

    you don’t need rel=”lightbox [name]” where [name] is only necessary for images in a gallery context. Also, the second part of the image tag above should contain a link to a thumbnail image.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help – Lightbox not working.’ is closed to new replies.