From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francesco Pizzolante Subject: HTML export > Resizing an activated inline image Date: Wed, 06 Apr 2011 10:14:18 +0200 Message-ID: <87hbab6bl1.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: mailing-list-org-mode Hi, When you want to resize an inline image, you have to write something like the following: --8<---------------cut here---------------start------------->8--- #+ATTR_HTML: width=50% [[./images/toto.png]] --8<---------------cut here---------------end--------------->8--- This generates the following HTML code: --8<---------------cut here---------------start------------->8--- ./images/toto.png --8<---------------cut here---------------end--------------->8--- Now, I would like my image to be activated and the link should point to the image itself. So, I'm trying the following: --8<---------------cut here---------------start------------->8--- #+ATTR_HTML: width=50% [[./images/toto.png][file:./images/toto.png]] --8<---------------cut here---------------end--------------->8--- But this adds the width to the anchor and not to the image: --8<---------------cut here---------------start------------->8--- --8<---------------cut here---------------end--------------->8--- Any idea on the way to the get the following HTML code from Org? --8<---------------cut here---------------start------------->8--- --8<---------------cut here---------------end--------------->8--- Thanks for your help. Francesco