Forums / Developer / Double quotes while linking embed-image

Double quotes while linking embed-image

Author Message

Mark Machullhan

Thursday 02 October 2008 4:15:01 am

When I try to link an embed image the link won't work and if I look at the source code I see double quotes in href.

Example:

<div class="object-center"><div class="embed-image">

<a href=""http://www.google.com"" target="_self"> <img src="/var/mg/storage/images/media/images/myimage.gif" width="100" height="100" style="border: 0px;" alt="" title="" /></a>

</div>
</div>

If I link to a regular text it works.

Thank you.

Mark Machullhan

Thursday 02 October 2008 4:25:28 am

I found the problem. In ezimage.tpl there were quotes around href={$href}.

It looked like this for some odd reason href="{$href}"