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 can i give the image path in footer.phtml
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 

Hi Friends,

I have facing the problem that i want to display the image in footer part of my home page,

but i don’t know how to give source path for image in footer.phtml file,

can you help me,

Thanks,
Nikunj

 
Magento Community Magento Community
Magento Community
Magento Community
 
MageParts
Guru
 
Avatar
Total Posts:  415
Joined:  2007-11-18
 

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

The code above would get the URL of the file “your_image_name.jpg” placed in your skin directory. Code works for both front and backend purposes. Hope it helps smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Nikunj Joshi
Member
 
Avatar
Total Posts:  59
Joined:  2008-12-05
SR. PHP Developer
 
Bockbertil - 20 December 2008 06:36 AM

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

The code above would get the URL of the file “your_image_name.jpg” placed in your skin directory. Code works for both front and backend purposes. Hope it helps smile

Thank You My Friend,

It works and you solve my problem,

Thank you once again,

Bye..

 
Magento Community Magento Community
Magento Community
Magento Community
 
Duael
Jr. Member
 
Total Posts:  3
Joined:  2009-03-27
 

Thank you very much for this wink

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