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


  1. Damien
    Member

    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 #
  2. yuniar

    Yes, simply put the full path to your image inside the IMG tag.


    MachForm Founder

    Posted 13 years ago #

RSS feed for this topic

Reply