FANDOM


Image MappingEdit

This code makes parts of an image into links.

I use this website. It's not the most graceful way to do it, but it works.

  1. Upload your image, and use the website to map out a section
  2. Right click and select "Get Code"
  3. From there, select the "HTML Code" tab
  4. Scroll way down, and copy the line of code for that piece
  5. Paste it into Word, and use Word's replace function to replace all the commas with spaces
  6. Copy the string of numbers into the code
Basic code:
<imagemap>
Image:{{{Image.FileType}}}|{{{sizePX}}}|{{{center/left/right}}}|{{{Whatever normal image stuff}}}

 {{{rect/poly}}} {{{String of numbers}}} {{{Link}}}
 {{{rect/poly}}} {{{String of numbers}}} {{{Link}}}

 default {{{Link for unmaped regions (optional)}}}
</imagemap>
Example Code: Example Code Result:
{{{Example}}}
{{{Example}}}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.