Skip to content

Instantly share code, notes, and snippets.

@Origame
Created December 13, 2016 18:29
Show Gist options
  • Save Origame/6e9241cc12fbbd7eced286ea902e3576 to your computer and use it in GitHub Desktop.
Save Origame/6e9241cc12fbbd7eced286ea902e3576 to your computer and use it in GitHub Desktop.
Magento skin url
<!-- this is inside of .phtml files -->
<img src="<?php echo $this->getSkinUrl('images/breadcrumbs_arrow.gif'); ?>" alt="arrow"/>
<!-- this is in cms block -->
<img class="featured-ratings" src="{{skin url='images/ratings.jpg'}}" alt="" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment