emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug: images always inlined when exporting to HTML
@ 2010-07-19 22:27 Eric S Fraga
  2010-07-20  6:07 ` Ulf Stegemann
  2010-07-21 14:06 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Eric S Fraga @ 2010-07-19 22:27 UTC (permalink / raw)
  To: org-mode mailing list

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

Having seen the recent message by Ulf regarding an org-mode button, I
thought I would do a little bit of work on my web site.
Unfortunately, this has caused me a problem!

It would appear that the handling of images in HTML export has changed
sometime recently and does not match the documentation (12.5.5 Images
in HTML export).  Specifically, whether a link to an image file has a
description or not is ignored and all my images are being inlined.

Attached are a simple org file that illustrates the problem and the
resulting HTML.  I think I'm up to date with org, although the
version number I get is a bit strange:

: Org-mode version 7.01trans (release_6.36.718.g78ef)
: GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
:  of 2010-05-16 on raven, modified by Debian

Any help greatly appreciated!

Thanks,
eric

[-- Attachment #2: Type: text/plain, Size: 1044 bytes --]

# -*- coding: utf-8; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga
#+EMAIL:     e.fraga@ucl.ac.uk
#+DATE:      2010.07.19 23:16:44
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT: 


* problem with html export of links to images

I often have links to images that should be inline:

#+caption: An example image to be displayed on the page
[[file:mip.png]]

and images which are [[file:mip.png][linked to]] but not displayed.

#+begin_src emacs-lisp :results output
  (format "%s\n%s" (org-version) (emacs-version))
#+end_src

#+results:
: Org-mode version 7.01trans (release_6.36.718.g78ef)
: GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
:  of 2010-05-16 on raven, modified by Debian


[-- Attachment #3: Type: text/html, Size: 3364 bytes --]

[-- Attachment #4: mip.png --]
[-- Type: image/png, Size: 15006 bytes --]

[-- Attachment #5: Type: text/plain, Size: 75 bytes --]

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

[-- Attachment #6: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

end of thread, other threads:[~2010-07-22  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-19 22:27 bug: images always inlined when exporting to HTML Eric S Fraga
2010-07-20  6:07 ` Ulf Stegemann
2010-07-21 14:06 ` Carsten Dominik
2010-07-21 15:56   ` Eric S Fraga
2010-07-22  7:51   ` Ulf Stegemann

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