How to Link to a Photo in Facebook FBML

Since the Facebook Markup Language (FBML) supports HTML, CSS and Javascript code, you need to use the HTML IMG tag to insert a photo on a Facebook canvas page. This method requires a single line of code per photo and that you know the direct website address for each image you link to. The IMG tag supports multiple photos per page.

Instructions

    • 1

      Open up your Facebook FBML or HTML document in a text editor on your computer. If you prefer, you can use a standalone HTML editor instead.

    • 2

      Insert the following HTML code in the place where you wish to have your photo shown:

      <IMG SRC="http://www.example.com/myphoto.jpg">

    • 3

      Replace the "SRC" value with the actual website address that points to your photo.

    • 4

      Save the document and upload it to your hosting account. The photo now renders in the location you selected on the page you uploaded.

Tips & Warnings

  • Adjust the size of a photo by using the "HEIGHT" and "WIDTH" parameters. For example, the code would look like this: <IMG SRC="http://www.example.com/myphoto.jpg" height="300" width="500">. Insert your own values for either or both size parameters.

Related Searches:

References

Comments

Related Ads

Featured