From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Inline Images Export Bug Date: Wed, 26 Aug 2015 13:51:59 -0400 Message-ID: <55DDFCBF.2050202@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUero-0005KQ-3h for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 13:52:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUerk-0001Ti-Kt for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 13:52:08 -0400 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:36804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUerk-0001TJ-G6 for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 13:52:04 -0400 Received: by qkda128 with SMTP id a128so74263452qkd.3 for ; Wed, 26 Aug 2015 10:52:03 -0700 (PDT) Received: from [172.17.95.91] (rrcs-98-103-89-126.central.biz.rr.com. [98.103.89.126]) by smtp.gmail.com with ESMTPSA id 65sm16877285qks.30.2015.08.26.10.52.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Aug 2015 10:52:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org list When did Org start using the tag for inline image HTML export? This is a horrible bug. I use many SVG images in my documents. Here is a sample bit of Org code: #+ATTR_HTML: :width 50% :style display: block; margin-right: auto; margin-left: auto; [[./graphic-1.svg]] I used to get this when exporting: graphic-1.svg Now I get this: Sorry, your browser does not support SVG. The problems with the second bit of exported code is that it doesn't scale the image to fit the block with 50% width (only a small part of the image is visible), and you when you right click on the image, you can't view it, save it or anything. The documentation for 8.3.1 says this about org-html-inline-images: Non-nil means inline images into exported HTML pages. This is done using an tag. When nil, an anchor with href is used to link to the image. Clearly, Org 8.3 is not using an tag when exporting SVG images to HTML, something which is a major issue for me. It essentially makes Org unusable for HTML export. I really would appreciate a fix for this bug. Scott Randby