Re: Images in .tpl
Not that I know of. I am curious if there is too. Really there are not many examples in the code of a directly referenced image anywhere, except for category, product, or logo. there is nothing that is just an image, only background images applied through CSS.
My advice for now is to just put the images in your module's skin directory, then reference them with skin/default/en/devid/modulename/images/
Of course, you can easily define your own global altImagesDir() method and use that.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey
XcartGuru
X-cart Tutorials | X-cart 5 Tutorials
Check out the responsive template for X-cart.
|