| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Image url for home page welcome text | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
4.4.2-Gold Add-on modules-none |
|||||||
#2
|
|||||||
|
|||||||
![]() What is your image path that you have given??
|
|||||||
#3
|
|||||||
|
|||||||
![]() <img src="{$ImagesDir}/thomepagepic.jpg">
__________________
4.4.2-Gold Add-on modules-none |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Try with <img src="`$ImagesDir`/thomepagepic.jpg"> or specify relative path instead of $ImagesDir. You can't use {smarty_variable} in language variable
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#5
|
|||||||
|
|||||||
![]() 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! |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|