show flickr photos with javascript

<script type="text/javascript">
function jsonFlickrFeed(o){
	var i = 0;
	while(o.items[i]){
    	document.write('<img src="' + o.items[i].media.m + '" alt="' + o.items[i].title +'">');
   		i++;
	}
}
</script>
<script src="http://api.flickr.com/services/feeds/photos_public.gne?id=28203925@N08&lang=en-us&format=json" type="text/javascript"></script>
Displaying 1 Code