WebThumb added a new feature this week called Easythumb. Like the rest of webthumb its still in beta but it makes adding thumbnails too a site much easier.
Easythumb gives you a simple interface to WebThumb letting people with minimal PHP skills integrate WebThumb into there site. It does have a couple drawbacks, thumbnails are always cached (if someone else requested that same url within 24 hours then you get that thumb instead of making a new request), the output sizes are smaller, and some other options won’t be available.
Easythumb lets you generate a thumbnail using an normal http GET call, letting you put the request right in an img src. Easythumb thumbs are always cached, the default cache is 1 day, you can also use a 7 day and 30 day cache.
If a thumbnail is served from the cache it only use 1/5 of a credit
If the thumbnail is generated it uses 1 credit like normal
Note that currently Easythumb only generates thumbnails of sizes small, medium, and medium2
< ?php // configuration parameters $url = 'http://bluga.net/webthumb'; // make a thumbnail of this url $apikey = 'your api key here'; $userId = 1; // your user id here $date = gmdate('Ymd'); $size = 'medium'; $cache = 1; $messageId = "tmessage1"; $parameters = "user=$userId&url=".urlencode($url)."&hash=".md5($date.$url.$apikey)."&size=$size&cache=$cache"; ?>
Easy Thumb SampleYour thumbnail is being generated please wait