| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Need help including images on home page | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Need help including images on home page
I've tried several times to get images to appear on my home page with no luck. I need to include logos for various companies that customers can click on to either bring them to the login screen or to their product line. However, every time I do this nothing appears but blank boxes. I'm doing this in txt_welcome and using the WYSIWYG editor to place the images and then link them. What am I doing wrong?
__________________
X-Cart 4.4.4 Gold |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Need help including images on home page
This may sound silly but are you sure the img tags and image URLs are accurate?
__________________
version 4.4.2 |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Need help including images on home page
I'm using the Insert/Edit Image button in the WYSIWYG editor and copying/pasting the URL of the image. I then link it to the login screen. Is this not the correct way to go about doing this?
__________________
X-Cart 4.4.4 Gold |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Need help including images on home page
That should work fine. Are you using the full URL to the image? For example http://www.site.com/image1.jpg
__________________
version 4.4.2 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Need help including images on home page
I'm using the full URL.
__________________
X-Cart 4.4.4 Gold |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Need help including images on home page
Don't do this. Use relative url otherwise your customers will see security warning under https.
<img src="skin/common_files/images/image_name.jpg.gif" width="xxx" height="xxx" alt="xxx"> replace xxx and src with your data. You can also use {$ImagesDir}/image_name.jpg but not inside langauge variables, where {$ImagesDir} = skin/common_files/images
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Need help including images on home page
What is the website URL?
__________________
X-Cart version 4.5.5 |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: Need help including images on home page
Quote:
If you mean how to call the website url via smarty then it's {$http_location} or {$https_location} (For secure url)
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: Need help including images on home page
This is how I have it within txt_welcome and it still is not displaying.
<p><img src="/admin/images/Toro_Logo.jpg" alt="ToroLogo" width="150" height="99" /></p> The image itself was uploaded via ftp into the following location: httpdocs/files/images which is also where I've placed all of my images and have had no issues with any of them. Am I missing something real basic here?
__________________
X-Cart 4.4.4 Gold |
|||||||||
#10
|
|||||||||
|
|||||||||
Re: Need help including images on home page
Yes something really basic - If you have the image uploaded to "files/images" why do you call it from "admin/images"?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|