a bit difficult without posting the whole thing here. I'll try. We have a
process diagram drawn in PowerPoint that contains a hyperlink for each
process element. When we export this to SVG and load this into a browser we
have clickable links. These links get lost when rendering the SVG in a Wiki
page. We have the choice of linking the whole image to its "download me"
page or no links at all. Can this be worked around? The alternative is a
bitmap with an image map, which we could not make work either, though I'll
try your hint.
Thanks & best regards
Am Dienstag, 13. Februar 2018 14:16:26 UTC+1 schrieb RjOllos:
> 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
> a WikiProcessor.
> For example, PlantUmlMacro supports image maps (1). The markup looks like
> <map id="49d3988d0f436b1348b6e28a52057c7dda5d8b11_map"
> <area shape="rect" id="id1" href="http://www.google.com" title="
> http://www.google.com" alt="" coords="8,3,48,117">
> <img src="/proj-1.0/plantuml?id=49d3988d0f436b1348b6e28a52057c7dda5d8b11"
> It may be that I'm not entirely following your usecase. Could you provide
> a concrete example?
> - Ryan
> (1) https://trac-hacks.org/ticket/10998
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.