Welcome to mirror list, hosted at ThFree Co, Russian Federation.

custom_image_handler.html « partials « layouts - github.com/jnjosh/internet-weblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1271545a564cdca412c08b875254e4824c24625b (plain)
1
2
3
4
5
6
7
8
9
10
11
<script type="text/javascript">

  // @summary: jquery implementation
  $(function() {
    // @summary: Use the author's flickr ID to load images from the public flickr feed
    $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id={{ .Site.Author.FlickrID }}&format=json&jsoncallback=?", function(data) {
      iweblog.application.displayImages(data, 8);
    });
  });

</script>