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

mizNRG 01-25-2011 05:19 AM

Re: Need help including images on home page
 
That's how I originally had it and it still was not showing up. So, I used the WYSIWYG editor and placed the image that way by copying the shortcut. The result of that was "admin/images". Still no luck...

cflsystems 01-25-2011 06:25 AM

Re: Need help including images on home page
 
make sure the permissions are correct

mizNRG 01-25-2011 06:29 AM

Re: Need help including images on home page
 
Ok, this may sound silly, but where/how do I do that?

cflsystems 01-25-2011 11:28 AM

Re: Need help including images on home page
 
You will have a lot less trouble if you keep all image sin skin/common_files/images

To check folder permissions you can use FTP

mizNRG 01-25-2011 12:04 PM

Re: Need help including images on home page
 
I also uploaded the same image to skin/common_files/images as suggested and I still am not seeing the image. I'm starting to get frustrated. My test site is below if that helps any.

http://testklineindcom.x-shops.com/

mizNRG 01-25-2011 12:07 PM

Re: Need help including images on home page
 
Okay, I finally got it to work. Not sure exactly what I did different now as opposed to a few minutes ago but the image is now there so I'm happy. Thanks for all your help!

mizNRG 02-28-2011 06:00 AM

Re: Need help including images on home page
 
Okay, I'm not sure why I'm having so many issues with my images. I have images included in many of my category descriptions and today they suddenly are not appearing. As far as I'm aware, nothing has changed. Any idea why one day an image would show and the next it wouldn't?


All times are GMT -8. The time now is 01:07 PM.

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