fix supersize bug with repeated images.
new function pl_get_thumb_post_types
Merge branch '1.2' of https://github.com/pagelines/DMS into 1.2