I thought it might help to put all code in one place, so I'm putting a copy of the sample API code here as well.
Purpose: This code allows you to call thumbnails automatically without having to load a web page to initiate. It also allows for more advanced functionality -such as caching thumbnails on-the-fly to your server or manipulating the images once retrieved.
Back-End API - PHP4 installed with GD 1.8 or later compiled
Front-End (In-page) - PHP4 installed
Usage: Remember to change the [key_id] and [key] values in the URL to your access key ID and secret key, respectively. These can be found when you first login (in the lobby).
Check out the latest sample codes and plugins on our plugins page:
ShrinkTheWeb Site Preview Plugins