[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] ATTR_HTML for a clickable image, howto?
From: |
François Pinard |
Subject: |
[O] ATTR_HTML for a clickable image, howto? |
Date: |
Sun, 01 Apr 2012 17:27:00 -0400 |
Hello, Org mode friends.
I just got a slight difficulty for which some of you may have an
advice. My source looks like this:
--8<---------------cut here---------------start------------->8---
#+ATTR_HTML: align="right"
[[file:2011-06-04-gazou-passeport.png][file:2011-06-04-gazou-passeport-petit.jpg]]
--8<---------------cut here---------------end--------------->8---
and once converted to HTML, yields (reformatted for legibility):
--8<---------------cut here---------------start------------->8---
<a href="2011-06-04-gazou-passeport.png"
align="right">
<img src="2011-06-04-gazou-passeport-petit.jpg"
alt="2011-06-04-gazou-passeport-petit.jpg"/>
</a>
--8<---------------cut here---------------end--------------->8---
The ATTR_HTML details got applied to the <a> tag while I wanted them to
be on the <img> tag. If I hand-edit the result so it is:
--8<---------------cut here---------------start------------->8---
<a href="2011-06-04-gazou-passeport.png">
<img src="2011-06-04-gazou-passeport-petit.jpg"
alt="2011-06-04-gazou-passeport-petit.jpg"
align="right"/>
</a>
--8<---------------cut here---------------end--------------->8---
then I get the display I wanted. Is there a way for having #+ATTR_HTML
to be applied to the inner tag instead of the outer one?
François
- [O] ATTR_HTML for a clickable image, howto?,
François Pinard <=
- Re: [O] ATTR_HTML for a clickable image, howto?, Bastien, 2012/04/02
- Re: [O] ATTR_HTML for a clickable image, howto?, Christian Moe, 2012/04/02
- Re: [O] ATTR_HTML for a clickable image, howto?, Bastien, 2012/04/02
- Re: [O] ATTR_HTML for a clickable image, howto?, Samuel Wales, 2012/04/02
- Re: [O] ATTR_HTML for a clickable image, howto?, Bastien, 2012/04/03
- Re: [O] ATTR_HTML for a clickable image, howto?, Samuel Wales, 2012/04/05
- Re: [O] ATTR_HTML for a clickable image, howto?, François Pinard, 2012/04/05