Description
Sometimes image maps on drawings don't work properly if on a page drawings have the same name (this can happen, if you include a drawing from a different page).
Steps to reproduce
Put drawings on a page where some drawings have the same name. This can happen if someone includes a drawing from a different page. Add links to some graphical elements in your drawings. This will create an image map after saving the drawings.
The links won't work as expected cause browsers have problems if image maps have the same id (like MoinMoin creates them).
Example
Below you see two drawings with the name "test.adraw". The first one is attached on this page. The second one is attached on a subpage and included on this page. Both pictures have image maps on them. The first drawings image map points to google. The seconds one points to yahoo. But only the first ones image map is working.
Component selection
Details
MoinMoin Version |
1.8, 1.9RC1 |
OS and Version |
Kubuntu 9.10 |
Python Version |
2.6 |
Server Setup |
Apache2 and official MoinMoin page |
Server Details |
... |
Language you are using the wiki in (set in the browser/UserPreferences) |
english, firefox browser |
Workaround
Create unique ids for the image maps. I made a proposal for that a few months ago in the repo "1.9-drawing".
Discussion
Plan
- Priority:
- Assigned to:
Status: fixed by 1.9 55de22afaff3