Use this form to search Flickr for photos by keyword. This demo script here is using the example code from two Flickr API tutorials hosted on the Web Development Blog.

As an addition we have used for this demo a kind of lightbox to show a larger photo format. We use Thickbox, a very flexible jQuery plugin. Just add the files thickbox.js and thickbox.css to your page, create links for the bigger image and add the class attribute thickbox to the image HTML generated by the PHP script.

Use some general search values like "funny dogs" to get the best result. Click each thumbnail to open the larger photo in a kind of lightbox (thickbox). Please be patient, the Flickr API/website isn't always very fast!

DigitalOceanSSD Cloud Server from $5/month by DigitalOcean, simple cloud hosting, built for developers. Receive $10 in credits »
ServerPilotServerPilot is the best way to run WordPress and PHP sites on your DigitalOcean servers. First month free »