| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Trying to insert image into welcome txt | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Trying to insert image into welcome txt
Help...I am trying to insert an image into my welcome text and used the WYSIWYG editor in Webmaster Mode. I searched through threads regarding this and as best I can tell I've got the code correct. The image is in my skin1/images directory, but all I can get is a red x instead of the image.
Here is my code <img alt="chef" src="<img src=" align="left" border="0" chef_th.jpg? {$ImagesDir} />Demo store powered by X-Cart. Based on PHP template technology and integrated with an SQL database, it is a fully functional store that allows you to try <a href="<A href="http://www.x-cart.com/">X-Cart">http://www.x-cart.com/">X-Cart shopping cart software</a>. As a buyer, you can browse products, put products into your cart and check out. As an administrator, you can add categories, products and change the look and feel of the store. If you have any questions please contact us. <p align="justify"><b>This service is for demo purposes only.</b> No real products. No real prices. No real charges. Please do not submit real credit card information.</p> <p align="justify">To replace this text with a welcome message of your own, log in as administrator, select the Webmaster mode link in the Administration box, then follow the instructions.</p>
__________________
/X-Cart Gold version 4.1.7 |
|||||||
#2
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
change
Code:
Code:
|
|||||||
#3
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
I made the change you gave me and am still getting a red x instead of the image
__________________
/X-Cart Gold version 4.1.7 |
|||||||
#4
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
You have this:
src="<img src=" align="left" border="0" chef_th.jpg? {$ImagesDir} /> You need this: <img src="{$ImagesDir}/chef_th.jpg" align="left" border="0" alt="" />
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
Sorry for being such a pest, but I must be missing something. Balinor I cut and pasted your code and still get the red x. Here is the code I pasted:
<img src="{$ImagesDir}/chef_th.jpg" align="left" border="0" alt="" /> Demo store powered by X-Cart. Based on PHP template technology and integrated with an SQL etc
__________________
/X-Cart Gold version 4.1.7 |
|||||||
#6
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
Did you upload the image into the skin1/images folder?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
yes. I doubled checked to make sure it is there under the same filename.
__________________
/X-Cart Gold version 4.1.7 |
|||||||
#8
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
one more go...
replace <img alt="chef" src="<img src=" align="left" border="0" chef_th.jpg? {$ImagesDir} /> with <img alt="chef" src="{$ImagesDir}/chef_th.jpg" align="left" border="0" /> |
|||||||
#9
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
Alas...no that one didn't work either inebriate.
__________________
/X-Cart Gold version 4.1.7 |
|||||||
#10
|
|||||||
|
|||||||
Re: Trying to insert image into welcome txt
Something is not right, as that code is correct. Make sure the file name matches exactly (chef_th.jpg and Chef_th.jpg are not the same thing).
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|