creating an imagemap, which function to use?

just trying to make my first theme and I want to turn the main image into an imagemap so clicking anywhere in the right half moves to the next picture, and clicking the left half moves to the last picture. here is my code:

<div id="image">
<MAP NAME = "imagenav">
<AREA SHAPE="rect" COORDS="0,0 200,200" href="<?=getPrevImageURL();?>">
</MAP>
<IMG src="<?php echo getFullImageURL();?>" USEMAP="#imagenav">
</div>

now this works when I use getFullImageURL, but I only want the sized image, but when I replace that function call with getSizedImageURL() it doesn't work? can anyone tell me what I am doing wrong? ( ps i only know enough php to be dangerous :) )

Comments

  • ah, never mind, i figured this out on my own... using
    <IMG src="<?php echo getDefaultSizedImage();?>" USEMAP="#imagenav">

    so expect to see a new theme from me sometime soon :)
Sign In or Register to comment.