Remove colorbox for preview of document attachments
The colorbox is a very nice popup for displaying media. However, if there is no preview of media, it just creates an unnecessary and confusing additional window, where the user has to then click the file before being able to open/get it.
For PDF, the PDF module is allowing to have a direct preview of the PDF. However there is a bug in the implementation, which always limits the colorbox size to 300 px. With this resolution, the viewer is not fully visible and downloading the document is nearly impossible for the user.
The colorbox can be removed as the default display for document attachments as explained here. A feature override needs to be created in order to preserve this on upgrades.
Furthermore, the colorbox should ideally be kept for images preview. Media galleries attached to documents will still use colorbox.
- 2365 reads
Updates and comments