This topic is locked

File Preview instead of Download

5/19/2021 2:03:53 PM
PHPRunner General questions
S
Sandi Jerome author

We had a field that was setup as a File/Image on Edit and View As File - show thumbnails and file icon. When the user would click on that field in 9.7 and 9.8 - they would get a file preview of the file in a popup. When we updated to 10.5, it now automatically downloads the file instead. In Firefox, we can prompt to ask about the download first and then have it open in Firefox, but with Chrome, it automatically downloads before the preview; causing a lot of extra files in the client's download folder. We'd like to setup up the file to preview like it did in the older versions. Has anyone found a place where we can default to a file prevew in Designer or Fields?

S
Sandi Jerome author 5/19/2021

As add'l info, we would put in this field PDF, jpg, png, docx, xlsm files and they would all preview.

admin 5/19/2021

I'm not quite sure how you can preview Word, Excel or PDF files. We never had this kind of functionality. Maybe it was a browser plugin of some sorts?

In regards to PDF files - you can use 'View as' PDF and users will be able to preview files without downloading them.

HJB 5/19/2021

Image Settings

... try to tick LIGHTBOX as to enable users to own a preview and to then download by right mouse click action once suitable.

img alt