I’ve been using the wordpress plugin ‘Get the Image‘ by developer Justin Tadlock for a while. ‘Get the image’ does a fantastic job searching through posts looking for images, so you don’t have to add thumbnails manually, but it always bothered me that it downscaled images in the html instead of scaling and cropping them properly. I also use the lovely timThumb script on my blog, to scale, scrop and cache images on the fly, and I wanted to find a way to combine the two scripts into one.
If this works there should be about 6 thumbnails on this page, showing links bookmarked using Delicious, and tagged with “art”.
Download delicious_screenshots.zip here, version 0.7 of my very first wordpress plugin.
Activate plugin. And add your del.icio.us username to the options page. (under settings in the WordPress toolbar)
14.02.2017: Changed from rss to json and cleaned the code up a bit. Also removed Snapcasa from options.
- The first version of this plugin used Snapcasa for creating thumbnails, but I switched to thumbalizr.com to get a higher success rate.
- The count param doesn’t seem to do anything when calling the del.icio.us api, it always returns 10 results, so I need to handle that in the code instead. I’ve notified them of the bug.
- Testing other screenshotting services or making my own.
- Choosing an image from the page metadata when available.