Added more specific post_mime_type
Added link on thumbnail to image in the medialibrary