ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Jorin on January 26, 2016, 05:55:05 am

Title: [1.0.6] BMP attachments
Post by: Jorin on January 26, 2016, 05:55:05 am
A member of my board attached a BMP file to his post (http://forum-alternative-antriebe.de/index.php/topic,5351.msg84350.html#msg84350). When clicking on it, a [X] appears. Seems it can't be shown with the original size inside the board.

When opening it by clicking on the file name, it appears correctly.
Title: Re: [1.0.6] BMP attachments
Post by: emanuele on January 26, 2016, 06:35:10 am
What browser are you using?
It looks good here, so it could be a problem of wrong mime sent and browser that doesn't like the wrong mime type.
Title: Re: [1.0.6] BMP attachments
Post by: Jorin on January 26, 2016, 06:43:56 am
IE 11  :-X

I can check it at home later with the IE and Chrome on my computer.
Title: Re: [1.0.6] BMP attachments
Post by: Spuds on January 26, 2016, 12:09:24 pm
Just tried in in Chrome, FF, Pale Moon and IE11 ...  window 7, looks fine here.
Title: Re: [1.0.6] BMP attachments
Post by: Flavio93Zena on February 02, 2016, 09:43:39 pm
This has been left here for a while but works fine here as well...
Title: Re: [1.0.6] BMP attachments
Post by: emanuele on February 03, 2016, 02:38:24 am
I only have handy MS Edge on win 10, but it works fine.
Title: Re: [1.0.6] BMP attachments
Post by: emanuele on March 23, 2016, 06:47:31 pm
@Jorin did you get a chance to have a look from another computer?
Title: Re: [1.0.6] BMP attachments
Post by: Jorin on March 24, 2016, 02:21:12 am
Oh, I forgot this one.  :-[  I will try the coming weekend, I promise.  O:-)
Title: Re: [1.0.6] BMP attachments
Post by: emanuele on March 24, 2016, 03:43:57 am
/me knows the feeling too well! LOL
Title: Re: [1.0.6] BMP attachments
Post by: Frenzie on March 26, 2016, 12:20:15 pm
Looks fine here as well (Iceweasel 44 on Debian/Stretch). The mimetype looks fine to me:
Code: [Select]
Content-Type: image/x-ms-bmp
That being said, a BMP file? That enormous 1.2 MB monster makes for a 34 kB PNG…  :'(
Title: Re: [1.0.6] BMP attachments
Post by: Antechinus on March 26, 2016, 12:32:47 pm
Using .bmp for anything online is just bonkers, but some people don't know any better.

(I'd disable that file type if it was my site)
Title: Re: [1.0.6] BMP attachments
Post by: Jorin on April 28, 2016, 03:18:26 am
Good idea, @Antechinus! Will be done.