On Wednesday, January 24, 2018 at 1:32:59 PM UTC, Joerg Pleumann wrote:
> sorry is this has been discussed before, but we cannot seem to make it
> work: We are using Trac 1.2.2 and want to display an image with clickable
> hyperlink regions that point to other Trac wiki pages. SVG is preferred
> because of scalability, but unfortunately the links got lost when rendering
> the SVG. We can choose between a link to the graphic itself (default
> behavior) or one that is not clickable at all (map/usemap, from here
> <https://trac.edgewall.org/ticket/4969>). A bitmap with HTML clickable
> regions would also be ok. I guess we could always try to express the whole
> thing as inline HTML code and use static resources from "somewhere", but
> that does not seem so maintainable/elegant.
> Any hints are appreciated.
I haven't used image maps very often, but it seems like #4969 is
misleading. The Image macro use the value of the usermap argument when
generating the img element. I'm not sure that an attachment like
"photomap.txt" is supported as a value for the usermap argument. It looks
like usermap must refer to a usermap element in the HTML. Therefore, I
assume the only way is to put the usermap element inline in the HTML using
For example, PlantUmlMacro supports image maps (1). The markup looks like
<area shape="rect" id="id1" href="http://www.google.com"
title="http://www.google.com" alt="" coords="8,3,48,117">
It may be that I'm not entirely following your usecase. Could you provide a
You received this message because you are subscribed to the Google Groups "Trac
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.