On 28.02.2011 11:41, Guenter Milde wrote: > Standard reStructuredText already supports "clickable" images with > links via the "target" option of the "image" directive: > http://docutils.sourceforge.net/docs/ref/rst/directives.html#image
Yes, I tried this. But: (1) this requires that I type the filename of the image twice, which is not acceptable in my case since my filenames are quite long. Example:: .. image:: http://photos.saffre-rumma.net/thumb/2011/02/201102-24_1419-23.jpg :target: http://photos.saffre-rumma.net/show/2011/02/201102-24_1419-23.jpg (2) Sphinx would then issue a warning `Non-local image` (and since I prefer to build using ``-W`` would even abandon the build) (3) When I change the URL of my picture server, I'd have to change all the source documents. (4) I'll get a problem if I once want to print my memoires using the latex builder. And an automatic download feature for remote images (as discussed earlier in this list) wouldn't be a solution because I have over 10 GB of private pictures. (5) I'd like to have my pictures inline by default, so I'd have to imagine an additional name for each picture of a document. A :foto: role would solve all these problems. Here is an example of the kind of documents I'd like to produce: http://luc.saffre-rumma.net/news/1339.html This website is generated by a self-written software, and I'd like to port the database to Sphinx. Here is an excerpt of the current source of this document:: vor der Hochzeit bis 3 Uhr beim Zusammenlegen half. [img luc:2010\0821_rosenhochzeit\201008-20_1519-39.jpg] [img luc:2000\1008-bxl-eupen\20001007.022441.jpg] Ly, Anne und Mari beim Herrichten des Festplatzes. I still hope for help (or more ideas about alternatives) from this list. It's not urgent since this is just for my private usage. Luc -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.