Image Mapping on mediawiki: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
m Text replacement - "Wiki Usage" to "Wiki use"
Line 18: Line 18:
</pre>
</pre>


[[Category:Wiki Usage]]
[[Category:Wiki use]]

Revision as of 11:06, 27 September 2018

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/upload.php 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>