Jump to content

For dummies: how to add a picture to a tpl/php page?


Recommended Posts

maybe someone can help me. task is simple: I would like to add a picture to a page, i.e. the referral program page the customer can open in his account center. I guess files names are irrelevant for this task as it is a general issue. anyway, the code of the referralprogram-program.tpl is as follows:

 

 

<script type="text/javascript">
// <![CDATA[
ThickboxI18nClose = "{l s='Close' mod='referralprogram'}";
ThickboxI18nOrEscKey = "{l s='or Esc key' mod='referralprogram'}";
tb_pathToImage = "{$img_ps_dir}loadingAnimation.gif";
//]]>
</script>

{capture name=path}<a href="{$link->getPageLink('my-account.php', true)}">{l s='My account' mod='referralprogram'}</a><span class="navigation-pipe">{$navigationPipe}</span>{l s='Referral Program' mod='referralprogram'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}

<h2>{l s='Referral program' mod='referralprogram'}</h2>
<img src="/themes/prestashop/img/image.jpg" />

 

see last line, what do I need to add here/replace here to see an image on the page right after the header? I tried the <img src="/themes/prestashop/img/image.jpg" /> but nothing really shows.

 

thx

Phil

Link to comment
Share on other sites

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...