From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: Re: FR: Display images in org-mode? Date: Tue, 8 Jan 2008 08:56:40 -0600 Message-ID: <41c818190801080656t4e455540n92b1fc151a0d9faa@mail.gmail.com> References: <87bq7wihim.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCFsi-00068m-BX for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:56:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCFsh-00068K-Jg for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:56:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCFsh-00068D-Ed for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:56:43 -0500 Received: from wx-out-0506.google.com ([66.249.82.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCFsh-0003yP-49 for emacs-orgmode@gnu.org; Tue, 08 Jan 2008 09:56:43 -0500 Received: by wx-out-0506.google.com with SMTP id s7so2519095wxc.24 for ; Tue, 08 Jan 2008 06:56:41 -0800 (PST) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: MarkS Cc: emacs-orgmode@gnu.org On Jan 8, 2008 8:48 AM, MarkS wrote: > Bastien altern.org> writes: > > > For now there is this rule applying to the HTML export: if an image lin= k > > has no description, or if the description and the link are equal, inlin= e > > the image in the HTML output: > > > > [[file:/home/me/me.jpg]] =3D> > > > > If there is some informative description > > then don't inline the image, juste link to it. > > > > [[file:/home/me/me.jpg][Me!]] =3D> Me! > > > > Would this rule be okay for inlining images in the buffer as well? > > > > Is that the rule, or is this the rule (from the documentation): > > If the description is a file name or URL that points to an > image, HTML export (*note HTML export::) will inline the image > as a clickable button. If there is no description at all and > the link points to an image, that image will be inlined into > the exported HTML file. > > > This latter rule would work. One would want the exported HTML to be a cli= ckable > button so that you could, for example, have a thumbnail on the page that = points > to a higher resolution version in a different directory. > > The thing that's missing from either approach is that you can't specify > attributes -- especially the alt tag for creating w3c compliant, disabili= ty > accessible, search-engine friendly image descriptions. > Perhaps a separate link type would be best for that [[image:/path/to/file.jpg][My description]] =3D> 3D"My There could also be "movie:" and "audio:", or even just a general link type "media"", which automagically Does The Right Thing. Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia