Lightbox JS v2.0 (patched to allow linkable images)

by Lokesh Dhakar (patch by Aaron Straup Cope)

Example

How to Use:

Part 1 - Setup

  1. Download and apply the following patches:
  2. Setup your webpage using the standard Lightbox documentation.

Part 2 - Activate

  1. Setup your webpage using the standard Lightbox documentation.
  2. Point to the larger image for Lightbox to display in a target, rather than href, attribute.
  3. Use the href attribute to point to the remote URL you are linking to. For example :
    <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
    
    Becomes :
    <a href="http://example.com/" target="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>