WordPress.org

Support

Support » Plugins and Hacks » lightbox doesn’t work

lightbox doesn’t work

Viewing 9 replies - 1 through 9 (of 9 total)
  • I had a few issues at first but it wasnt broken.. when you upload the file and then browse the that photo, if you click on the photo you get a little menu option like Use Thumbnail or No Link… If you click on those they change your options I set mine to Link to Picture and use thumb nail and if started working for me. Hope that helps

    I tried that and all it did was put a thumbnail that linked to the full picture, but it didn’t open in a lightbox. Sheesh, what’s wrong with it?

    Check the plugin file to make sure it’s getting it’s own path correctly? Some author’s use easily breakable methods.

    I am using lightbox 2.0 from http://www.m3nt0r.de/blog/lightbox-wordpress-plugin/ just install it and activate plugin .. follow the readme and do what I said with the clicking on the pictures.. it Should work if it doesnt . .. ? I dont know?

    Example: I had to change line 43 of lightbox-plugin.php to:
    $lightbox_dir = "/data1/[moreofsame]/htdocs/wordpress/wp-content/plugins/lightbox-plugin/";

    I had to give it an explicit path for it to work.

    Thanks Yosemite. I’ll try that. I activated the plugin and followed instructions. That didn’t work. I might just try another plugin.

    thanks yosemite, that worked for me too. i would’ve been so sad without my fancy lightbox effect!

    Hi,

    I also installed the Lighbox (Lighbox)plugin on my site. I activated it but when I click on a picture it doesn’t work.
    See: My Site

    try hard coding the call to the javascript and css with full urls

    eg

    <link rel="stylesheet" href="http://www.domain.com/wp-content/plugins/lightbox/css/lightbox.css" type="text/css" media="screen" />
    	<script type="text/javascript" src="http://www.domain.com/wp-content/plugins/lightbox/js/prototype.js"></script>
    	<script type="text/javascript" src="http://www.domain.com/wp-content/plugins/lightbox/js/scriptaculous.js?load=effects"></script>
            <script type="text/javascript" src="http://www.domain.com/wp-content/plugins/lightbox/js/lightbox.js"></script>

    then add rel="lightbox" to your image code

    eg
    <a href="http://www.domain.com/wp-content/images/pic.jpg" rel="lightbox" title="pic"> <img src="http://www.domain.com/wp-content/images/pic.jpg" alt="pic"/></a>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘lightbox doesn’t work’ is closed to new replies.
Skip to toolbar