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

Inserting Image Into Footer
 
RussT
Jr. Member
 
Total Posts:  3
Joined:  2011-05-05
 

I am no developer, actually most of the work I have done is with the CMS of Magento itself. My developer is to busy to do small work for me so I was hoping someone might be able, within the Magento Static Block section of adding images to the footer itself.
When I try and insert an image that I have uploaded to the server I get an outline of whatever dimensions I specify but no image! I can add the image text and it appears inside the outline of what should be the picture but again no image.
What the hell am i missing ???
Can someone PLEASE help me?
Thanks,
Russ

 
Magento Community Magento Community
Magento Community
Magento Community
 
magestore_1
Mentor
 
Avatar
Total Posts:  1015
Joined:  2009-08-07
Viet Nam
 

Hello,

To add image into static block, you can use this code

<a href="{{store direct_url="apparel/shoes/womens/anashria-womens-premier-leather-sandal.html"}}">
<
img src="{{skin url='images/ph_callout_left_top.gif'}}" border="0" alt="" />
</
a>
 
Magento Community Magento Community
Magento Community
Magento Community
 
RussT
Jr. Member
 
Total Posts:  3
Joined:  2011-05-05
 

I very much appreciate your help, but I am simply to ignorant to understand how the code you gave me with the shoes and the other items mentioned can do the trick!
I think I am supposed to enter the location of the image on my server instead of what you sent me,
Please correct me if I am wrong.
TY again for your response!
Russ

 
Magento Community Magento Community
Magento Community
Magento Community
 
RussT
Jr. Member
 
Total Posts:  3
Joined:  2011-05-05
 

I tried and tried to use that code and it successfully entered the shoe image you inserted in it but I cannot figure out for the life of me what I should delete from your example in order to have it insert my image!
I am copying and pasting both the supposed url (#1)of the image itself taken from the “image properties” dialogue box that opens when you try and click on the \\\"insert/edit image\\\” and then browse the server
#1
/home/duboulev/public_html/media/upload/image/mastercard%20JPEG.jpg

Next I will paste the entire source code code that Magento inp do this for me.(#2)

#2
<p><img height="25" width="50" src="/home/duboulev/public_html/media/upload/image/mastercard%20JPEG.jpg" alt="” /> </p>

As you see I defined height and width as asked for when you try and use Magento\\\’s insert/add image feature.

If anyone can be so kind as to be REAL specific (because of my ignorance) on what I should try to do to get this to work
Thanks in advance,
Russ

 
Magento Community Magento Community
Magento Community
Magento Community
 
magestore_1
Mentor
 
Avatar
Total Posts:  1015
Joined:  2009-08-07
Viet Nam
 

If you want to use images in media directory, you need to edit some of the code above.

<a href="{{store direct_url="apparel/shoes/womens/anashria-womens-premier-leather-sandal.html"}}">
<
img src="{{media url='upload/image/mastercard%20JPEG.jpg'}}" border="0" alt="" height="25" width="50" />
</
a>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top