PDA

View Full Version : problem with jpeg image map


horseygirl
07-10-2007, 12:05 AM
im trying to add an image to the main page that i made on image ready, this is no problem on its own, but when i add the image map details i get errors.

all im trying to do is have various parts of the image link to different catogories.

any easy answer. i did think of putting it in a table 1x1 so as the html code was away from the smarty code?

thanks

sarah:confused:

David
07-11-2007, 09:15 PM
It might be a problem with the code you are adding.
You might want to try enclosing the code you are adding with literal tags
{literal}your code{/literal}

vegabond
07-12-2007, 08:38 PM
I have used Image Map in many times without any problem.

Do you like to post your code? Wanna have a look :)

horseygirl
07-22-2007, 02:08 PM
i have just read about using {literal}your code{/literal}

as with the image map i used the smarty thing came up with errors saying didnt understand the various areas of the map whish i was trying to link to the main cats of the directory.

if i stick anything between these tags it will be as if it was just html?

David
07-22-2007, 04:14 PM
To the best of my understanding, the literal tag is basically telling Smarty that there are no Smarty tags/commands in the code between the literal tags, and I think you can use them in many situations.