I want to put a big picture on my homepage, and some cool little graphics within item descriptions… is there a specific way to call images in Magento?
I can’t use
I can put these images in my template’s skin/...../ images/media folder but no clue how to call them within the pages.
Thanks for your help!
If your are using CMS Page, you can call image with
If it’s in template file, you have to do :
It’s not more complicated !
I want to ask something too,
Can we call image via same methods in product description ?
I tried your method but it doesn’t work for me.
I entered the code in the CMS page from admin.
Frontend shows me a URL for the graphic but not the graphic.
OK I got it working. Here’s how:
As long as the image is in a directory OUTSIDE OF the magento directory, you can simply call it using a full HTML path and the img src tag.
So when I did this:
it displayed exactly as I had wanted it. I didn’t need any other attributes like width or height either.
No need for PHP on this one.
We'd like to hear from you! Call us, send us an email or talk to sales.
See Magento in the news, find press releases and resources for media.
Thank you for subscribingPlease check your email for a confirmation.