View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027905 | mantisbt | attachments | public | 2021-01-22 12:54 | 2021-01-25 17:17 |
Reporter | rogueresearch | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 2.24.4 | ||||
Summary | 0027905: Support inline preview of PDF attachments | ||||
Description | Mantis is currently able to show inline previews of text and image files. It would be nice if it could do the same for attached PDF files. Browsers these days are able to show PDF themselves, so perhaps this wouldn't be too difficult a feature? | ||||
Tags | No tags attached. | ||||
Just some notes in case someone should start working on this, I have not tried anything myself. Unlike Video or Audio (inline preview implemented since 2.23.0 0026102 0026095) PDF is not a standard HTML5 element. At the moment most of the users of mobile browsers (about 75% according caniuse.com) would be ruled out, if PDF relies on browser capabilities. Client side rendering via JavaScript might be no good idea, as we would have to deliver a fat JavaScript library and the PDF file itself to the client. |
|