Insert a Badge from Flickr in your Site or your Blog


A Flash badge


  • Flickr give us a code, which can be summaries like this :

<!-- Start of Flickr Badge -->

<style type="text/css">

... some style sentences ...

</style>

<script type="text/javascript">

... javascript sentences ...

</script>

... html sentences ...

</div>
</div>

<!-- End of Flickr Badge -->


  • Copy the green part, where the badge must appear.
  • Create a file (with notepad) which contain the css (the blue part). Name this css file style_flickr.css
  • Insert a <link> tag to load the StyleSheet : 

<link rel="stylesheet" type="text/css"
href="http://YOURSITE/style_flickr.css">


  • The result :


www.flickr.com
This is a Flickr badge showing public photos from prac53. Make your own badge here.




Using a Google Gadget



120 x 182

flickr-badge.xml

Add this gadget to Google


  • Parameters of the Gadget :


UserId : The Flickr User Id. Use IdGettr to find your Flickr user Id
Set : Number of the Set to display

Titre : Title to display
Footer : Text to display within the footer
Link : Link on the footer

BorderCol : #rrggbb Border color
BackCol
:
#rrggbb Background color
LinkCol : #rrggbb Link color


  • A Flickr Badge, using the Gadget :







An HTML badge


  • Flickr give us a code, which can be summaries like this :

<!-- Start of Flickr Badge -->

<style type="text/css">

... some style sentences ...

</style>

<table ...

... some html ...

</td></tr></table>

<!-- End of Flickr Badge -->




  • Copy the green part, where the badge must appear.
  • Create a file (with notepad) which contain the css (the blue part). Name this css file style_flickr.css
  • Insert a <link> tag to load the StyleSheet : 

<link rel="stylesheet" type="text/css" href="http://YOURSITE/style_flickr.css">


  • The result :


www.flickr.com



More Informations






Add this Gadget to Google - Every day a new label - discover new wines



facebook - philippe chappuis