We are creating a custom skin to match our corporate look and feel. One of the things we would like to do is to be able to load images from the skin. For example:
or
But instead of having the images load from /images, have them load from the skin, i.e. /app/sc/skins/MySkin/images.
Any suggestions on how to do this? Is there a way to get the path to the skin from code?
Thanks!
Code:
canvas.setBackgroundImage("backImage.jpg");
Code:
Img logo = new Img( "logo.png", 267, 35 );
Any suggestions on how to do this? Is there a way to get the path to the skin from code?
Thanks!
Comment