Image Mapping on mediawiki

From CCMDB Wiki
Jump to navigation Jump to search

Image mapping means designating parts of a photo, drawing or screen shot to act as links on a web site. On mediawiki this is implemented with the ImageMap Extension]; it comes with MediaWiki and is enabled on this wiki.

One of the tasks in creating an image map is to determine the area of the image that should become the link. https://www.image-maps.com/ is a useful tool for this. You will need to change the output from html to MediaWiki markup, but it still designates the areas pretty well. No login is required even if it initially looks like it.

Imagemap test/example

see Main Page

Code

<imagemap>
Image:CCMDB Description.png|alt=Description of CCMDB sources and outputs
rect 9 104 141 128 [[Demographics]]  

...

rect 238 624 337 646 [[Publications]]
</imagemap>