debug
automagically generate multi-resolution thumbnails for images