Note: This feature requires a paid plan.
Filestack offers a way to preview files in the browser combining our processing engine with a custom solution built on Mozilla’s PDF.js.
Supported file types:
- PDF files (PDF)
- Powerpoint files (PPT, PPTX)
- Excel files (XLS, XLSX)
- Word files (DOC, DOCX)
- ODF word processing documents (ODT)
- ODF presentation documents (ODP)
- Image files (gif, tiff, jpg, jpeg, png)
- HTML files
- Plain text files
- Adobe Illustrator and Adobe Photoshop files (AI, PSD)
Any file that is a PDF or supports being converted into a PDF can be previewed by using the preview processing task in the file URL:
<iframe style="width:100%;height:600px;" src="https://cdn.filestackcontent.com/preview/SGe380ViQ7W8efiX6sdG"> </iframe>
Filestack also offers a way to preview files in the browser in a slide view. Any file that is a PDF or supports being converted into a PDF can be previewed by using our slide Processing API task:
You can pass in a solitary Filestack handle or an array of handles to be merged into one PDF document. This URL can be also embedded in your page as an HTML iframe element.
Note: This only works with Filestack handles.
|theme (t)||stringbright||Theme type to use. Available options are: bright or dark.|
|engine (e)||stringpoppler||Conversion engine to use. Available options are: poppler or mupdf. Results and performance may vary for each as they use different graphic libraries.|
<iframe style="width:100%;height:600px;" src="https://cdn.filestackcontent.com/slide/HANDLE"> </iframe>