Alternatively, how do I specify the LaTeX image on one line, and the HTML image as an <a href rel=lightbox> on a different line, such that the link doesn't appear in the LaTeX export and the image doesn't get duplicated in the HTML export? 

Thanks!



On Wed, Jan 15, 2014 at 1:32 AM, Peter Salazar <cycleofsong@gmail.com> wrote:
Does anyone know of a lightbox-style plug-in that will work with org-mode HTML export that will automatically, on click, expand images to fill the screen,  i.e. one doesn't require me to manually add an "href" and "rel=lightbox" manually to each image?

(Most lightbox-style plugins require you to not just include IMG tags, but to wrap them in something like <a href="img/image-1.jpg" rel=lightbox></a>)

Alternatively, is there a way to direct org to automatically add href and rel="lightbox" to all images on HTML export in a way that won't break LaTeX export? 

Thanks!