Friday, September 9, 2011

How to get magento skin url of images?

getSkinUrl() function is used to get the image location. For example, If you want to get your image location "skin/frontend/default/Your theme/images/image.jpg" use the below code.

$this->getSkinUrl('images/image.jpg');

No comments:

Post a Comment