Added custom post thumbnail image handling for the image format