![]() |
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?
|
Re: Need help including images on home page
This may sound silly but are you sure the img tags and image URLs are accurate?
|
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?
|
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
|
Re: Need help including images on home page
I'm using the full URL.
|
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 |
Re: Need help including images on home page
What is the website URL?
|
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) |
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? |
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.