Title: lightbox auto
Last modified: August 19, 2016

---

# lightbox auto

 *  [sandrapan](https://wordpress.org/support/users/sandrapan/)
 * (@sandrapan)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/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)

 *  [Tdude](https://wordpress.org/support/users/tdude/)
 * (@tdude)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/lightbox-auto/#post-701621)
 * 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](https://wordpress.org/support/topic/lightbox-auto/$url?output_format=md)“,
   $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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Tdude](https://wordpress.org/support/users/tdude/)
 * Last activity: [17 years, 5 months ago](https://wordpress.org/support/topic/lightbox-auto/#post-701621)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
