Firefox PHP

View jpeg instead of downloading?

Posted by vandys 
View jpeg instead of downloading?
June 04, 2022 09:46AM
On current Firefox, a jpeg message attachment has open/download. Both buttons just bring up the download dialog box. I've dug through it a bit in the debugger, and it's not really jumping out at me why. I did enable pathinfo usage, but the problem remains. I'll keep banging the rocks together, but if somebody just knows the answer, TIA for saving me some time!
Re: View jpeg instead of downloading?
June 04, 2022 11:00AM
It turned out to be:

Use the PHP fileinfo extension for mime-type detection

Why a legit jpeg would not satisfy this module is a question I _could_ pursue, but turning this off makes
images viewable on the forum.
Sorry, only registered users may post in this forum.

Click here to login