Hi,
Is it possible to implement document preview (JPG, GIF, PNG, TIFF, PDF, Docx, .xslx) when we right-click on a hyper link. Currently when we click on a dynamic link it opens in download mode. Our requirement is to preview document first before user perform download action.
Thanks!
Discussion posts and replies are publicly visible
My client had a very similar request - Provide ability to *preview* documents before downloading. However, the requirement was limited to PDFs. So I used the PDF Tools plugin to Convert PDF to Image (Creates an array of images or a multi-page tiff from a PDF). Once the PDF file was converted to an array of TIFF images I just displayed the images in a a!forEach of a!documentImage components within a single a!imageField component.