首页 > 未分类 > 在magento中如何输出Magento skin目录,phtml,cms?(Magento Img 标签使用)

在magento中如何输出Magento skin目录,phtml,cms?(Magento Img 标签使用)

Phtml中:

<img src=”/getSkinUrl(‘images/myImage.png’) ?>”/>

CMS中:
<img src=”/{{skin url=’images/media/myImage.jpg’}}” />

Advertisements
分类:未分类
  1. 还没有评论。
  1. No trackbacks yet.

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: