Results 1 to 3 of 3

Thread: JXL support, please

  1. #1
    itvision is offline Junior Member
    Join Date
    Dec 2015
    Posts
    5

    Lightbulb JXL support, please

    Please add JXL support.

    Right now JXL files are served as downloads. Chrome already supports JXL (needs to be enabled in about://flags), Firefox will soon follow.

    To do that edit
    Code:
    /etc/nginx/mime.types
    and add
    Code:
    image/jxl  jxl;
    This should be enough.

  2. #2
    alemoppo is offline AlterVista Staff
    Join Date
    Feb 2010
    Location
    IT
    Posts
    795

    Default

    Hello,

    I tested it and it seems to work correctly: https://alemoppo.altervista.org/LABS/JXL/
    Does it not work on your side?

    Bye!

  3. #3
    itvision is offline Junior Member
    Join Date
    Dec 2015
    Posts
    5

    Default

    The issue is if you link to a file using

    <a href=image.jxl>Image File</a>

    Altervista servers will not provide the necessary mime type:

    HTTP/1.1 200 OK
    Date: Mon, 11 May 2026 07:05:26 GMT
    Content-Length: 223479
    Connection: keep-alive
    last-modified: Tue, 05 May 2026 22:14:44 GMT
    etag: "368f7-651195fd39d00"
    Accept-Ranges: bytes
    Server: cloudflare
    cf-cache-status: DYNAMIC
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}
    CF-RAY: 9f9f55d0db493107-TBS
    alt-svc: h3=":443"; ma=86400
    Compare this to a PNG file:

    HTTP/1.1 200 OK
    Date: Mon, 11 May 2026 07:07:21 GMT
    Content-Type: image/png
    Content-Length: 139262
    Connection: keep-alive
    last-modified: Thu, 31 Dec 2015 10:17:59 GMT
    etag: "21ffe-5282ef810a3c0"
    Accept-Ranges: bytes
    Cache-Control: max-age=2592000
    expires: Fri, 05 Jun 2026 15:57:15 GMT
    Server: cloudflare
    Age: 400206
    cf-cache-status: HIT
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":""}]}
    CF-RAY: 9f9f58a398e3808d-TBS
    alt-svc: h3=":443"; ma=86400
    Content-Type: image/png is there.
    Content-Type: image/jxl is missing.

    And of course your web browser will offer to download it instead.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO