added resizing of images/thumbs