emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: bug: images always inlined when exporting to HTML
Date: Mon, 19 Jul 2010 23:27:06 +0100	[thread overview]
Message-ID: <87zkxn9kg5.wl%ucecesf@ucl.ac.uk> (raw)

[-- 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

             reply	other threads:[~2010-07-19 22:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 22:27 Eric S Fraga [this message]
2010-07-20  6:07 ` bug: images always inlined when exporting to HTML Ulf Stegemann
2010-07-21 14:06 ` Carsten Dominik
2010-07-21 15:56   ` Eric S Fraga
2010-07-22  7:51   ` Ulf Stegemann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkxn9kg5.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).