Attachment thumb

Move the thumbnail creation out of Display.controller.php to Attachments.subs.php