emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Images in HTML export
@ 2018-02-17 22:01 Thomas S. Dye
  2018-02-18 12:27 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2018-02-17 22:01 UTC (permalink / raw)
  To: Org Mode List

Aloha all,

Using an up-to-date Org mode from Elpa, I'm not getting inline 
images when the description part of the Org link is itself a link. 
Instead, the browser shows the alt text, which points to the link.

Here is an example from the Org mode buffer:

#+name: fig:bldg-1-5-seq
#+caption: Stratigraphic DAG of the North Area sequence based on a 
 Harris matrix created by Craig Cessford.
[[file:~/quicklisp/local-projects/hm/examples/bldg-1-5/bldg-1-5-sequence.png][file:~/quicklisp/local-projects/hm/examples/bldg-1-5-sequence-small.jpeg]]

This is what I get in the html file:

<div id="orgc49248e" class="figure">
<p><a 
href="file:///home/dk/quicklisp/local-projects/hm/examples/bldg-1-5/bldg-1-5-sequence.png"><img 
src="file:///home/dk/quicklisp/local-projects/hm/examples/bldg-1-5-sequence-small.jpeg" 
alt="bldg-1-5-sequence-small.jpeg" /></a>
</p>
<p><span class="figure-number">Figure 6: </span>Stratigraphic DAG 
of the North Area sequence based on a Harris matrix created by 
Craig Cessford.</p>
</div>

I have org-html-inline-images set to t, and am viewing the output 
in an up-to-date Mozilla Firefox browser.

I'm expecting to see bldg-1-5-sequence-small.jpeg displayed 
inline.  Any idea what I'm doing wrong?

All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com

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

* Re: Images in HTML export
  2018-02-17 22:01 Images in HTML export Thomas S. Dye
@ 2018-02-18 12:27 ` Eric S Fraga
  2018-02-18 17:58   ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2018-02-18 12:27 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: Org Mode List

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

On Saturday, 17 Feb 2018 at 12:01, Thomas S. Dye wrote:
> Aloha all,
>
> Using an up-to-date Org mode from Elpa, I'm not getting inline 
> images when the description part of the Org link is itself a link. 
> Instead, the browser shows the alt text, which points to the link.

[...]

> I have org-html-inline-images set to t, and am viewing the output 
> in an up-to-date Mozilla Firefox browser.

Maybe check org-html-inline-image-rules to ensure that it covers .jpeg
files?

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-118-g134243

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: Images in HTML export
  2018-02-18 12:27 ` Eric S Fraga
@ 2018-02-18 17:58   ` Thomas S. Dye
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2018-02-18 17:58 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Org Mode List

Aloha Eric,

Eric S Fraga writes:

> On Saturday, 17 Feb 2018 at 12:01, Thomas S. Dye wrote:
>> Aloha all,
>>
>> Using an up-to-date Org mode from Elpa, I'm not getting inline
>> images when the description part of the Org link is itself a 
>> link.
>> Instead, the browser shows the alt text, which points to the 
>> link.
>
> [...]
>
>> I have org-html-inline-images set to t, and am viewing the 
>> output
>> in an up-to-date Mozilla Firefox browser.
>
> Maybe check org-html-inline-image-rules to ensure that it covers 
> .jpeg
> files?

Thanks for the suggestion.

As is often the case, Org mode is doing just what I tell it to do 
and the problem is that I've been telling it to do the wrong 
thing. Sorry for the noise.

All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com

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

end of thread, other threads:[~2018-02-18 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 22:01 Images in HTML export Thomas S. Dye
2018-02-18 12:27 ` Eric S Fraga
2018-02-18 17:58   ` Thomas S. Dye

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).