From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark S" Subject: Re: HTML export > Resizing an activated inline image Date: Sun, 17 Apr 2011 15:47:30 -0800 Message-ID: Reply-To: throaway@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBamp-0000A8-GM for emacs-orgmode@gnu.org; Sun, 17 Apr 2011 18:49:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBamo-0000I5-6C for emacs-orgmode@gnu.org; Sun, 17 Apr 2011 18:49:47 -0400 Received: from fed1rmfepo101.cox.net ([68.230.241.143]:43494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBamn-0000HN-Qu for emacs-orgmode@gnu.org; Sun, 17 Apr 2011 18:49:46 -0400 Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmfepo101.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110417224942.JJTC17030.fed1rmfepo101.cox.net@fed1rmimpo03.cox.net> for ; Sun, 17 Apr 2011 18:49:42 -0400 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: "emacs-orgmode@gnu.org" Just to say, I also am interested in how you would do this. There are probably more attributes that I would like to add to the image (like size and alignment for instance) than there are attributes I would like to add to the link. Mark --- On Wed, 4/6/11, Francesco Pizzolante wrote: > From: Francesco Pizzolante > Subject: [O] HTML export > Resizing an activated inline image > To: "mailing-list-org-mode" > Date: Wednesday, April 6, 2011, 1:14 AM > 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--- > alt="./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--- > src="./images/toto.png"/> > --8<---------------cut > here---------------end--------------->8--- >Any idea on the way to the get the following HTML code from > Org? >--8<---------------cut > here---------------start------------->8--- > src="./images/toto.png" width=50% /> > --8<---------------cut > here---------------end--------------->8--- >Thanks for your help. >Francesco >