From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Inline Images Export Bug Date: Wed, 26 Aug 2015 20:06:59 +0200 Message-ID: <876141apq4.fsf@gmx.us> References: <55DDFCBF.2050202@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUf6N-00076v-Kx for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 14:07:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUf6K-00013z-EV for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 14:07:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:57559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUf6K-00012b-7j for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 14:07:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZUf6H-00063K-H8 for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 20:07:05 +0200 Received: from tsn109-201-154-171.dyn.nltelcom.net ([109.201.154.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Aug 2015 20:07:05 +0200 Received: from rasmus by tsn109-201-154-171.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Aug 2015 20:07:05 +0200 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-orgmode@gnu.org Hi Scott, Thanks for your bug report. Scott Randby writes: > When did Org start using the tag for inline image HTML > export? You should use git-blame to find out if you care. > 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. > > [...] > > 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. I'm not sure it's a bug. It's IS clearly a quite complicated issue, e.g.: http://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files Perhaps it should be configurable, perhaps even as a default and a per-image basis (via #+attr_html). If you can provide a (html) solution that takes into consideration the issues mentioned on SO that would of course be great. In the age of d3.js interactivity COULD be an issue (I would always load "interactive svgs" via JS, but I'm a pretty naïve svg user so I don't know what's possible). Rasmus -- Together we'll stand, divided we'll fall