Add media preview for post types

#1 WordPress 3.6 Compatibility