Link to home
Start Free TrialLog in
Avatar of NEILPH
NEILPHFlag for New Zealand

asked on

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

Avatar of Snarfles
Snarfles
Flag of Australia image

You are linking to a .bmp file... you would be better off converting this to gif, jpg, or png.
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?
Avatar of NEILPH

ASKER

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.
Its still best practice not to use .bmp. For your users sake....

Do you want to paste in what the solution was?
Avatar of aljurians
aljurians

well you can upload that in  your facebook photos and that link should be bmp too..

if that dont work you can use http://imageshack.us/ or tinypic.com
ASKER CERTIFIED SOLUTION
Avatar of NEILPH
NEILPH
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.