Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How do I grab a picture from images within a template
 
number25
Member
 
Total Posts:  64
Joined:  2008-07-12
 

Ok, I understand how to grab a product and then get the url and image and all that. But what if I just want a simple image from the images folder. how do I do that within a template file. Say like in header.phtml ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
BarneyHall
Jr. Member
 
Total Posts:  26
Joined:  2009-03-09
 

Good question… I’m also confused.
If I add an “img src” to header.phtml to a valid image I have in my theme folder, it won’t display.
Anyone any ideas where I’m going wrong? Probably a school boy error but I very new to this…
Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top