Added ability to resize thumbnails