From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: using lightbox plugins in HTML export Date: Thu, 23 Jan 2014 08:33:36 +0100 Message-ID: <87y527nodr.fsf@bzg.ath.cx> References: <87r482yk6v.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6EnM-0005u1-Nq for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:33:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6EnE-0008Tg-Bf for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:33:48 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:47248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6EnE-0008Tc-51 for emacs-orgmode@gnu.org; Thu, 23 Jan 2014 02:33:40 -0500 Received: by mail-wg0-f41.google.com with SMTP id n12so290742wgh.2 for ; Wed, 22 Jan 2014 23:33:39 -0800 (PST) In-Reply-To: (Peter Salazar's message of "Wed, 22 Jan 2014 23:34:11 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Salazar Cc: org-mode Hi Peter, Peter Salazar writes: > Thanks for the response. That ATTR_HTML comes in very handy. I made > one adjustment to your code, and it totally worked! Amazing! > > Here it is in full: > > #+ATTR_LaTeX: :width 300px > #+ATTR_HTML: :rel lightbox :href image.png > [[file:image.png]] Glad it works. Actually, it would be nice to have org-html-images-default-attributes the same way we have org-html-table-default-attributes (And for other backends too, why not.) -- Bastien