This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
image URL independant of the ZC Template
Started 13 years ago by Damien | 2 posts |
-
Dear All,
I was wondering if it would be possible to add an image in the form that would NOT be dependent of the Zen Cart Template...
Ex:
Adding an image could simply be done by <img src="http://www.yourdomain.com/images/your_image.jpg" />
Problem: if I switch my template, the image remains the same.To achieve this independence I need to have my image in ./templates/MYTEMPLATE/images/my_image.jpg, correct?
I thought <img src="../images/your_image.jpg" /> would work... but it doesn't.What am I missing?
All the best,
D
Posted 13 years ago # -
Yes, simply put the full path to your image inside the IMG tag.
MachForm Founder
Posted 13 years ago #
Reply
You must log in to post.