emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Confused about inline html images
@ 2013-01-13 19:48 John Hendy
  2013-01-13 19:54 ` John Hendy
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-01-13 19:48 UTC (permalink / raw)
  To: emacs-orgmode

I'm trying to recreate this html:

<a href="http://path/to/image.jpg"><img src="http://path/to/image.jpg"
width="400px" /></a>

My approach was like so:

#+attr_html: width="400px"
[[http://path/to/image.jpg][http://path/to/image.jpg]]

From the description at using inline images
(http://orgmode.org/manual/Images-in-HTML-export.html):

#+begin_quote
If the description part itself is a file: link or a http: URL pointing
to an image, this image will be inlined and activated so that clicking
on the image will activate the link. For example, to include a
thumbnail that will link to a high resolution version of the image,
you could use:

     [[file:highres.jpg][file:thumb.jpg]]
#+end_quote

That sounds like my example above should work; the example indicates
that thumb.jpg would be inlined and clicking it would send to
highres.jpg. I'd like http://path/to/image.jpg to be inlined at 400px
but clicking it would make the full size jpg viewable in a browser.

I haven't changed the variable org-export-html-inline-images. It
should be set to the default, which appears to be 'maybe.'


Thanks for any suggestions,
John

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-07  9:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-13 19:48 Confused about inline html images John Hendy
2013-01-13 19:54 ` John Hendy
2013-01-13 20:09   ` John Hendy
2013-01-31  9:45   ` Bastien
2013-02-06 21:53     ` John Hendy
2013-02-07  7:38       ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).