Thread:がか/@comment-24930367-20190422155816/@comment-26154973-20190422175913

Looks like a wikia fandom bug. It is different because files are encoded/stored differently (since it is a bug). $ curl -sLI -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/Kongou_Kai_Ni_C_Card.png | grep -E "^content-[td]" content-disposition: inline; filename="Kongou_Kai_Ni_C_Card.webp"; filename*=UTF-8''Kongou_Kai_Ni_C_Card.webp content-type: image/webp $ curl -sLI -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/2019-4-22T21.0.12.jpg | grep -E "^content-[td]" content-disposition: inline; filename="2019-4-22T21.0.12.octet-stream"; filename*=UTF-8''2019-4-22T21.0.12.octet-stream content-type: application/octet-stream $ curl -sLI -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/Kongou_kai_ni_c.png | grep -E "^content-[td]" content-disposition: inline; filename="Kongou_kai_ni_c.octet-stream"; filename*=UTF-8''Kongou_kai_ni_c.octet-stream content-type: application/octet-stream $ curl -sLO -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/Kongou_kai_ni_c.png $ curl -sLO -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/2019-4-22T21.0.12.jpg $ curl -sLO -H "accept:image/webp" https://kancolle.fandom.com/wiki/Special:FilePath/Kongou_Kai_Ni_C_Card.png $ file * 2019-4-22T21.0.12.jpg:   JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 1200x720, components 3 Kongou_Kai_Ni_C_Card.png: RIFF (little-endian) data, Web/P image, VP8 encoding, 327x450, Scaling: [none]x[none], YUV color, decoders should clamp Kongou_kai_ni_c.png:     PNG image data, 1920 x 1080, 8-bit/color RGB, non-interlaced It is fine to save them as .jpg/.png/.webp instead of .octet-stream, but it won't work in new tabs since they are setting wrong headers so browsers just wont treat it as images, just binaries to download.