Added support to display the preview image for PDF if the image for
preview exists. (DHH-332)