Member
Member
benneh   2006-08-01, 03:49
#1
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 Smile )
Member
Member
benneh   2006-08-01, 04:20
#2
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 Smile
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.