Better Or Worser: A Picnik API Sample
Welcome to Better or Worser!
This website lets you upload photos, edit photos, and then vote on which improvements look the best!
Here's how it works:
- You submit your photos to Better Or Worser.
- Other people use Picnik to improve your photos.
- Everybody votes to decide which edits are Better — and which are Worser!
Get Started!
-
Submit your own photo to Better Or Worser
-
View the submissions and find photos that need Picniking.
-
Vote on photos that others have submitted.
About Better Or Worser
Better Or Worser is a sample PHP application that demonstrates some of the cool things you can do with the Picnik API.
Some of the features that you'll find demonstrated in the source code include:
- Importing images into Picnik
- Exporting images using temporary URLs and active downloading (aka the "pull" method)
- Passing image ids in and out of Picnik
- Using a helper class (picnik.php) to simplify and centralize access to the Picnik API
You can download the complete source code to study, modify, and test on your own servers.