Quantcast

Picnik API Samples

What does a Picnik app look like? How many ways can I add photo-editing awesomeness to my own website? We've got a great big basket of samples (with source code!) and all kinds of other inspiration to help you on your way.

The Picnik API at Home

The Picnik API is great tool, so of course we use it ourselves! All of the widgets and bookmarklets and extensions on our Picnik Tools page were built with the Picnik API.

The Picnik API in the Wild

All kinds of great third-party applications have been created using the Picnik API; this list is just a small sampling of some of the more interesting ones. Take a look and you might find some inspiration for your own Picnik API adventures!

Picnik Samples With Source Code

The Picnik API Reference is full of useful little snippets of code. In particular, check out _import and _export for quick demos of the two most important Picnik API parameters.

King Of The Hill demonstrates simple image uploading and exporting from Picnik servers using HTTP POST (the "push" method). This sample is written in PHP and comes with complete source code. Long Live The King!

Better Or Worser is a complete social web app built around Picnik and the Picnik API. Upload your images, edit others' images, and vote on which are "better" and which are "worser"! This sample is written in PHP and comes with complete source code. It demonstrates:

  • importing and exporting with via remote URLs (the "pull" method)
  • customizing the Picnik interface
  • tracking whether or not to replace an image with the _imageid parameter