Attachment image width fix

Auto-width for image thumbnails when the browser window is being
resized.