An App Engine application serving random Picasa Web images.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1be0b97 Jul 18, 2013


An App Engine application serving random Picasa Web images. This application will always be deployed at It offers multiple ways to embed the picture in your web page:

Script Tag

The most basic form can be achieved by including the following snippet on your web page:

<script type=”text/javascript” src=”“></script>

Replace "your.username" with the name of your Picasa Web username.

If you want to customize the size of the thumbnail returned pass a "?size=" option:

<script type=”text/javascript” src=”“></script>

A list of valid sizes can be found in the Picasa Web API reference at Look for explanations on "thumbsize".

If you don't want the image to be a link to the full version, simply add "?link=0":

<script type=”text/javascript” src=”“></script>

If you want to restrict the choice to a single album append an "album_id" parameter:

<script type=”text/javascript” src=”“></script>

To figure out the proper value for "album_id", simply visit your Picasa Web Album and look in the HTML sources for a string of the form "/albumid/1234567890123" - the digits after "/albumid/" represent the ID of the album.


In case you want to have full control over how the image is displayed, rndpic now also offers serving raw JSON:

    $ curl ""
      "target_url": "https:\/\/...",
      "width": 320,
      "thumbnail_url": "http:\/\/...",
      "height": 240

An example of this in action can be seen at To get an idea on how to use it, check out the sources at

Image Tag

If you're not able to use JavaScript there's a simple integration method using an img tag:

    <img src=""/>

Please note that this will just embed the picture on your site but it will not be linked to the full-resolution version on Picasa Web.