Jump to content

How to add an image to a Template?


Recommended Posts

Hi,

 

I've been trying to customise my product.tpl to include an image (this would be the same image for all products) I've tried to do this by using the code below - but when I preview in a browser the page is completely blank.

 

Here is the code I've been using:

 

<ul id="usefull_link_block">

{if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if}

<li><a href="javascript:print();">{l s='Print'}</a><br class="clear" /></li>

{if $have_image && !$jqZoomEnabled}

<li><span id="view_full_size" class="span_link">{l s='View full size'}</span></li>

{/if}

</ul>

 

-------------------------------THIS IS WHAT I'VE ADDED----------------------------------------------

<img src="http://www.designplus-shop.co.uk/themes/p55_gloss_red/img/product-images/emb-free.jpg" />

----------------------------------------------------------------------------------------------------

 

</div>

 

 

Would appreciate it if someone could point me in the right direction.

 

Thanks,

 

Iain.

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...