Opened 5 years ago

Last modified 5 years ago

#20838 closed task

Inconsitency with svg image from osm source and Image() macro — at Initial Version

Reported by: skyper Owned by: stoecker
Priority: normal Milestone:
Component: Wiki content Version:
Keywords: svn osm internal source macro Cc: stoecker

Description

There seems to be some inconsistency in with [[Image()]] macro and the interlinks to source:

Following works with png:

source:osm/applications/editors/josm/plugins/HouseNumberTaggingTool/images/home-icon32.png [[Image(source:osm/applications/editors/josm/plugins/HouseNumberTaggingTool/images/home-icon32.png)]]
No image "/applications/editors/josm/plugins/HouseNumberTaggingTool/images/home-icon32.png" attached to osm:source [[Image(osm:source:/applications/editors/josm/plugins/HouseNumberTaggingTool/images/home-icon32.png)]]

but not with svg:

source:osm/applications/editors/josm/plugins/reverter/images/revert-changeset.svg [[Image(source:osm/applications/editors/josm/plugins/reverter/images/revert-changeset.svg)]]
No image "/applications/editors/josm/plugins/reverter/images/revert-changeset.svg" attached to osm:source [[Image(osm:source:/applications/editors/josm/plugins/reverter/images/revert-changeset.svg)]]

The macro should use the source in both ways and not link to the source code of the image. It is an Image macro and I do not need it if I want to link to the source code.

Change History (0)

Note: See TracTickets for help on using tickets.