create new tag
, view all tags


Is there a way to use image maps within TWiki topics?
What I would like to do: display process chains

  • one topic containing the main process chain
  • define sensitive areas within this mainchain.gif (using the <map> and <area> -tags)
  • linking to various topics containing the sub chains

My approach was to use the plain html tags for a client side image map (see http://de.selfhtml.org/html/grafiken/verweis_sensitive.htm for a german description). But the linking did not work. This was not due to me getting the path to the topic wrong. It did neither work for plain http-links.

So may be with TWiki I can only use server-side image maps? (http://www.w3.org/TR/REC-html40/struct/objects.html#h-13.6.2) If so, what would I need to do to my server? Or is there any other way to manage this (besides using text anchors)?

(I'm not sure if "missing functionality" is the right category for this topic, but it seemed to be the closest. Might need to be changed.)


TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000 Server
Web server: Apache 1.3.33
Perl version: 5.8.5-3
Client OS: Windows XP
Web Browser: IE
Categories: Missing functionality

-- JuditMays - 13 Apr 2005


Would the image maps of TWikiDrawPlugin provide the functionality you need?

-- PeterThoeny - 14 Apr 2005

Strange that client side maps didn't work for you. I did attach images with maps, produced and exported to HTML with MS Visio, successfully, by just adding the exported source to the topic. Note: I did change all HTML-tags to lower-case and checked the links. See the simple example below.

Topic Home

Doesn't this work for you?

Of course Peter is right: Use TWikiDrawPlugin for this kind of diagrams! smile

http://twiki.org/http://www.twiki.org/cgi-bin/view/Support/HowToUseImageMaps#AnswerEdit drawing `gif_2` (requires a Java 1.1 enabled browser)Edit drawing `gif_2` (requires a Java 1.1 enabled browser)Edit drawing `gif_2` (requires a Java 1.1 enabled browser)Edit drawing `gif_2` (requires a Java 1.1 enabled browser)

-- FranzJosefSilli - 14 Apr 2005

If you would like to use photos and draw sensitive areas over them, you could use mapedit, a $10 soft, and hack the result code as you need.

-- BenoitFauvel - 15 Apr 2005

Thanks for all your answers! I installed the TWikiDrawPlugin and it seems to be working all right. And I understand the example given by Franz. But I havn't figured out yet, how to use it for my purpose.

I have an existing gif file which I would like to edit with the plugin.

But if I attach the image (with a link in the topic) and write %DRAWING% into the topic as well, the two are not combined or connected in any way.

So how do I add the sensitive parts of the map to an image that I did not create with the plugin?

-- JuditMays - 15 Apr 2005

Sorry Judit, that's not possible with the TWikiDrawPlugin cause you can't 'convert' pixel-graphics (.gif) easily into equivalent vector-graphics (.draw). Maybe some day this distinction won't matter any more cause there are only .svg images or pictures in some other text-based graphics-format around, but I fear that won't happen in my lifetime. Till then we will have to use the workaround of using some external vector-graphics editor to 'draw' image-maps.

-- FranzJosefSilli - 15 Apr 2005

If someone added gif image support to TWikiDrawPlugin it could be done. And before you ask, no, I wasn't planning to.

-- CrawfordCurrie - 16 Apr 2005

Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif gif_1.gif r1 manage 1.8 K 2005-04-14 - 15:09 UnknownUser Page-1
Unknown file formatdraw gif_2.draw r3 r2 r1 manage 1.2 K 2005-04-14 - 15:19 UnknownUser TWiki Draw draw file
GIFgif gif_2.gif r3 r2 r1 manage 0.8 K 2005-04-14 - 15:19 UnknownUser TWiki Draw GIF file
Mapmap gif_2.map r2 r1 manage 0.7 K 2005-04-14 - 15:19 UnknownUser TWiki Draw map file
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2005-04-16 - CrawfordCurrie
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.