On May 10th Panoramio launched Panoramio Widget API. It can be used through HTML templates and through JavaScript API. There are 4 HTML templates: Photo, Slideshow, List and Photo list (basicly Photo and List widgets combined). You can reade more on templates here.
Source code view
<iframe src="http://www.panoramio.com/wapi/template/photo_list.html?tag=harbour&width=500&height=500&list_size=8&position=bottom&bgcolor=%23d3d3d3" marginwidth="0" marginheight="0" frameborder="0" height="500" scrolling="no" width="500> </iframe>
Widget view (Photo list widget)
You can use 3 options for photo viewing (cannot be used together): user, tag and set (all photos). The tag option is allowed to use only one tag per widget. The other problem with tag option is that it shows only photos from different places, for example, if you use tag Paris, only one photo will be from Paris, France.
Source code view
<iframe style="float: left; margin: 10px;" src="http://www.panoramio.com/wapi/template/list.html?tag=Paris&width=350&height=200&rows=3&columns=4&orientation=horizontal" marginwidth="0" marginheight="0" frameborder="0" height="200" scrolling="no" width="350"> </iframe>
Widget view (List widget, tag Paris)
Widget view (List widget, tag Pirita)
There are obviously more photos tagged with Pirita.
HTML templates are only useful if you want to show all your photos or random photos with tags like: sun, sea, forest. Sadly it is impossible to show particular photos or photos from specific places.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment