• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 442
  • Last Modified:

Facebook Business Page photo link won't work

I want to put an image on our Facebook business landing page. However the image won't display presumably because the page can't find it.

I followed the example shown at Mashable http://mashable.com/2010/02/22/build-facebook-landing-page/ .

Mashable's instructions are "go to your settings and click the “Edit” link under the Static FBML app. This opens a standard text field where you can add your content. The main text field is where your content goes, and you can add standard HTML to the page as you would any website, including images, text, links, and other formatting. No need for HTML, BODY, or HEAD tags. Note that your images must be hosted elsewhere (on your company’s website, for example) and only referenced in your HTML code."

I think that's what I've done. My code is below.

I suspect there is a setting in Facebook that I should tick to let this function but darned if I know what it is.
<a href="http://www.oursite.com"><img scr="http://www.oursite.com/test_icon.bmp" width="202" height="62" alt="Welcome to Our Site"></a>

Open in new window

0
NEILPH
Asked:
NEILPH
  • 4
  • 2
  • 2
1 Solution
 
SnarflesCommented:
You are linking to a .bmp file... you would be better off converting this to gif, jpg, or png.
0
 
SnarflesCommented:
You could use something like this to convert it for you

http://www.coolutils.com/Online/Image-Converter/

The reason I say this is that the bmp is generally not a web format and while I think some browsers accept it others wont.

I guess the other question is... if you go directly to http://www.oursite.com/test_icon.bmp does it work?
0
 
NEILPHAuthor Commented:
This is weird. I've solved it and I don't know why.

I googled and found a site of distressed Facebook users trying to solve the same problem. I took the code example of one of the gurus, replaced it with my file names, and placed it in my FB page and it worked.

I couldn't see the difference from the example in my question above, but then noticed that they didn't have </a> at the end.

Later, I added an </a> and it still worked. Crazy.

My opinion is that FB is a black box that is parsing whatever code you enter, and unless you do things in a ceratin way it gets confused.

It worked whether .bmp or .gif

So I guess no points. Thanks for the interest though.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
SnarflesCommented:
Its still best practice not to use .bmp. For your users sake....

Do you want to paste in what the solution was?
0
 
aljuriansCommented:
well you can upload that in  your facebook photos and that link should be bmp too..

0
 
aljuriansCommented:
if that dont work you can use http://imageshack.us/ or tinypic.com
0
 
NEILPHAuthor Commented:
Here's the code....

a. as per the example I got by googling. Note no </a>  It works, showing the image.

<a href="http://www.mysite.com"><img src="http://www.mysite.com/img/home/test_logo.gif" width="202" height="62" border="0" alt="Welcome to Mysite" />
<p>MySite is a good site</p>

b. So I added the </a> and it still works. The mystery is that this takes it back to exactly what I add previously, and which wouldn't work.

<a href="http://www.mysite.com"><img src="http://www.mysite.com/img/home/test_logo.gif" width="202" height="62" border="0" alt="Welcome to Mysite" /></a>
<p>MySite is a good site</p>

c. I've just noticed that my original would have been     Mysite" ></a>,    not     Mysite" /></a>      Would that have made a difference?
0
 
SnarflesCommented:
Technically you should have it... for it to be valid xhtml... however thats one of the things that I admit I am sloppy with. I probably forget it half the time but never have any issues with displaying images.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now