X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need help including images on home page (https://forum.x-cart.com/showthread.php?t=57703)

mizNRG 01-24-2011 08:34 AM

Need help including images on home page
 
1 Attachment(s)
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?

AIEGaming 01-24-2011 10:00 AM

Re: Need help including images on home page
 
This may sound silly but are you sure the img tags and image URLs are accurate?

mizNRG 01-24-2011 10:30 AM

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?

AIEGaming 01-24-2011 11:12 AM

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

mizNRG 01-24-2011 11:15 AM

Re: Need help including images on home page
 
I'm using the full URL.

cflsystems 01-24-2011 11:23 AM

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

Wazowski 01-24-2011 01:51 PM

Re: Need help including images on home page
 
What is the website URL?

chamberinternet 01-24-2011 02:00 PM

Re: Need help including images on home page
 
Quote:

Originally Posted by Wazowski
What is the website URL?


If you mean how to call the website url via smarty then it's

{$http_location} or {$https_location} (For secure url)

mizNRG 01-25-2011 04:54 AM

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?

cflsystems 01-25-2011 05:14 AM

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"?


All times are GMT -8. The time now is 05:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.