Jump to content

Broken Image


Guest cbn

Recommended Posts

After I add a new box, I follow the procedure added to index.tpl the below:

<div class=â€boxTitleRightâ€>Payment</div>

<div class=â€boxContentRightâ€>

<div style=â€text-align: centerâ€>

<img src=â€images/credit.gif†alt=â€â€>

</div>

</div>

<div class="boxFootRight">&nbsp;</div>




And I got broken image.  And the propertis for this image when right click on it was:


http://www.mysite.com/store/?images/credit.gif?




I am confused when I saw:   
?images/credit.gif?

How could I fix it? Thanks

Link to comment
Share on other sites

it is because you are using the wrong speech marks i know this sound weird but it cant seem to find that caractor once its been fed throught the xTpl system and it just doesn't seem to work then... throwing up a ? in the place of the unknown charactor...

try replacing the speack marks with ' << singe quote...

in your example see the diffrence between

 â€
and
 "

Link to comment
Share on other sites

i used make the same mistake and i learned then why ? where poping up everywhere... well it was either ? or [] NM...

It a tip for the rest of you to watch out for...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...