Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Trying to insert image into welcome txt

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-02-2007, 05:19 AM
 
BftEagle BftEagle is offline
 

Member
  
Join Date: Oct 2006
Posts: 10
 

Default Re: Trying to insert image into welcome txt

Quote:
Originally Posted by balinor
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).

The name is correct. I even tried inserting other files from the images directory. None of them will load. No matter what the file, I get the red x.
__________________
/X-Cart Gold version 4.1.7
Reply With Quote
  #12  
Old 06-02-2007, 05:24 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Trying to insert image into welcome txt

Right click on the red x and see what the url of the image is.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #13  
Old 06-02-2007, 07:43 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Trying to insert image into welcome txt

Also there are a few older imaging software programs that will make the ext in caps. such as file.JPG instead of file.jpg
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #14  
Old 06-02-2007, 06:05 PM
 
BftEagle BftEagle is offline
 

Member
  
Join Date: Oct 2006
Posts: 10
 

Default Re: Trying to insert image into welcome txt

Quote:
Originally Posted by balinor
Right click on the red x and see what the url of the image is.

http://www.cheesecakefanatic.com/xcart4.1.7/{$ImagesDir}/chef_th.jpg

url checks out correctly
__________________
/X-Cart Gold version 4.1.7
Reply With Quote
  #15  
Old 06-02-2007, 06:50 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Trying to insert image into welcome txt

Actually, no it doesn't...you shouldn't be seeing {$ImagesDir}, that should translate to the directory.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #16  
Old 06-04-2007, 06:18 PM
 
BftEagle BftEagle is offline
 

Member
  
Join Date: Oct 2006
Posts: 10
 

Default Re: Trying to insert image into welcome txt

Quote:
Originally Posted by balinor
Actually, no it doesn't...you shouldn't be seeing {$ImagesDir}, that should translate to the directory.

So what do I do about this?
__________________
/X-Cart Gold version 4.1.7
Reply With Quote
  #17  
Old 06-04-2007, 06:24 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Trying to insert image into welcome txt

What are you using to edit the code?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #18  
Old 06-05-2007, 04:19 AM
 
BftEagle BftEagle is offline
 

Member
  
Join Date: Oct 2006
Posts: 10
 

Default Re: Trying to insert image into welcome txt

I use Webmaster mode and Dreamweaver
__________________
/X-Cart Gold version 4.1.7
Reply With Quote
  #19  
Old 06-05-2007, 04:21 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Trying to insert image into welcome txt

Ok, one or both of those could be screwing you up. Dreamweaver doesn't understand Smarty code, and Webmaster Mode is really meant for editing text, not adding code. Open up the language variable directly via your "Languages" area and insert the code there.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #20  
Old 06-09-2007, 05:08 PM
 
TheMommyMarketplace TheMommyMarketplace is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 41
 

Default Re: Trying to insert image into welcome txt

I am trying to get this to work as well. Right now I have all of my "extra" images on Photobucket because I could just copy their link & it worked great. I am now trying to have everything in my directory the way it should be =). My images are in this folder: /var/www/html/skin1/images/thumbnails when I access my FTP.

I put the image I need into that folder & then typed in this code: <img alt="Available Clasps" src="{$ImagesDir}/clasptype.jpg" align="left" border="0" />

I get a box labelled "Available Clasps" with a red x. What am I doing wrong?
__________________
Amy

X-cart Pro 4.1.9
www.themommymarketplace.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:33 PM.

   

 
X-Cart forums © 2001-2020