coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: dawndmd on January 14, 2007, 02:41:47 PM

Title: Problem with my image map please help
Post by: dawndmd on January 14, 2007, 02:41:47 PM
Hi, I have an image map under my logo.  The problem is that the links are set up correcting in my coordinates in the template.html file, but when you click on the image map links in the browser it is adding /gallery/contact     It puts the /gallery in each one of my links so they are not working.  Please view my gallery at www.branicdesigns.com/gallery   I really need to figure out how to get the /gallery part of the url out.  Dawn
Title: Re: Problem with my image map please help
Post by: Nibbler on January 14, 2007, 03:53:32 PM
This is nothing to do with pnCPG, and nothing to do with Coppermine. It is basic HTML.

First fix this:

<img src="file:///E|/Websites/Branic%20Designs%20Digital%20Scrapbooking/Forum/templates/links.jpg" width="780" height="30" border="0" usemap="#Map" />

Then change your map to this:


<map name="Map" id="Map">
  <area shape="rect" coords="33,5,98,28" href="../index.html" target="_self" alt="Home" />

  <area shape="rect" coords="131,3,183,27" href="../store/" target="_self" alt="Shop" />
  <area shape="rect" coords="219,4,270,27" href="../branicblog/" target="_blank" alt="Blog" />
  <area shape="rect" coords="303,4,380,30" href="../gallery/" target="_self" alt="Photo Gallery" />
  <area shape="rect" coords="413,3,484,28" href="../forum/" target="_self" alt="Forum" />
  <area shape="rect" coords="524,4,628,28" href="../resources.htm" target="_self" alt="Resources" />
  <area shape="rect" coords="654,1,767,25" href="../contact.htm" target="_self" alt="Contact Us" />
</map>
Title: Re: Problem with my image map please help
Post by: dawndmd on January 14, 2007, 05:44:46 PM
Thank you very much.  Dawn