![]() |
Image url for home page welcome text
Hello,
I have been able to edit the welcome text on the home page using the wysiwyg editor and want to add an image in the same area. I have uploaded an image to the images file but I am unsure what the url should be so all attempts so far just leave a blank rectangle. I'm pretty sure it's about the path as I have used the image ok on another site previously. Could anyone help with this one please? Thank you D. |
Re: Image url for home page welcome text
What is your image path that you have given??
|
Re: Image url for home page welcome text
<img src="{$ImagesDir}/thomepagepic.jpg">
|
Re: Image url for home page welcome text
Try with <img src="`$ImagesDir`/thomepagepic.jpg"> or specify relative path instead of $ImagesDir. You can't use {smarty_variable} in language variable
|
Re: Image url for home page welcome text
Quote:
Thanks Steve this worked for me, I put a post about using relative paths for putting images in descriptions for categories, and I removed the full URL and it worked. Since you can only put html in the description of categories, no smarty or PHP, I was simply left with: <img alt="" src="images/printing_stamps_imgs/Self_Inking_Custom_Stamps.jpg" /> Now when I move my cart from a subfolder to the root, I won't have to modify these urls, since it is relative. Thanks again! |
All times are GMT -8. The time now is 11:00 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.