Support » Fixing WordPress » lightbox auto

  • lightbox auto plugin does not seem to work for me. the plugin did not automatically insert rel=”lightbox” to linked image. i have my wp-lightboxJS plugin activated too. i must have tried every lightbox2, lightboxJS, wpLightbox , lightbox slideshow configuration already. I got it to at least show the image, but i’d like to know how can i eliminate the tediousness of the popup asking for location of image, the width, height, and group name..etc.. i thought if i click on the plugin it will do all..there must be something wrong..

    Also for wp-LighboxJS download, the directions do not specify to put the usual scripts in header:
    <script type=”text/javascript” src=”js/prototype.js”></script>
    <script type=”text/javascript” src=”js/scriptaculous.js?load=effects”></script>
    <script type=”text/javascript” src=”js/lightbox.js”></script>
    <link rel=”stylesheet” href=”css/lightbox.css” type=”text/css” media=”screen” />

    Is it because wp-LightboxJS.php takes care of that?

    thank you, any help would be appreciated!

Viewing 1 replies (of 1 total)
  • Hi!
    Maybe this answer doesn’t suit your needs, but you could always do a small hack:
    in wp-includes/ppost-template.php on line 789 insert this and comment the old line with 2 forward slashes:

    // always add lightbox props
    // return apply_filters( ‘wp_get_attachment_link’, “$link_text“, $id, $size, $permalink, $icon );

    Now, you really shouldn’t do this, but sometimes with certain limitations it might be a simple and useful hack.

Viewing 1 replies (of 1 total)
  • The topic ‘lightbox auto’ is closed to new replies.