Forums / Setup & design / Banner Imagemaps

Banner Imagemaps

Author Message

Neo Pixel

Wednesday 02 July 2008 5:24:18 am

Hi guys and gals,

I have started developing a website using ezpublish here... www.ticklesite.com/index.php

Can someone please explain how to implement an imagemap on the frontpage banner?

I've tried html but there's no way to reference the image to the code.

Any help would be greatly appreciated

Andy B :-)

Asking stupid questions so you don't have to!

Mohammad Tufail

Wednesday 02 July 2008 9:58:08 pm

Hi Neo,

I have also used the imagemap in my website as follows.


<img src={$node.object.data_map.picture.content[original].url | ezroot} alt="Picture" usemap="#map" border=0 />
<map id="map" name="map">
<area shape="rect" coords="8,1,200,154" href={"Projects/project1" | ezurl} />
<area shape="rect" coords="240,1,434,154" href={"Projects/project2" | ezurl} />
<area shape="rect" coords="8,180,200,328" href={"Projects/project3" | ezurl} />	<area shape="rect" coords="240,1,434,328" href={"Projects/project4" | ezurl} />	</map>

Neo Pixel

Monday 11 May 2009 7:55:53 am

Does it work?

Asking stupid questions so you don't have to!

Ɓukasz Serwatka

Tuesday 12 May 2009 12:16:22 am

You might also look on the ezwebin banner template where this is supported as well.
http://svn.ez.no/svn/extensions/ezwebin/trunk/packages/ezwebin_extension/ezextension/ezwebin/design/ezwebin/override/templates/billboard/banner.tpl

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog