Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter giovanni57

    (@giovanni57)

    I found this link https://www.vertopal.com/en/format/hdr
    but now I don’t know how add the extension to mime types.
    Is it correct to write on Add Values text input field this sintax ?
    hdr = image/vnd.radiance
    and save ?
    Thanks

    Plugin Author kimipooh

    (@kimipooh)

    If it fails to upload a file for the security reasons of WordPress despite having set it up with this plugin, then the MIME type of the uploaded file recognised by WordPress may be different from the MIME type you have set. In that case, you need to find out how WordPress recognised the MIME type of the file.

    In case of “hdr” file extension, WordPress recognizes the mime type “application/octet-stream”.

    So, please set the following value.

    hdr = application/octet-stream

    Reference:

    https://docs.google.com/presentation/d/1o4YHqP7s-EcctYSEYM2L7HLJtqhjA_mkY4VMjvTdj20/edit?usp=sharing

    Thread Starter giovanni57

    (@giovanni57)

    Hi,
    thanks so much. I’ll try but also hdr = image/vnd.radiance seems to work.
    Do you think that hdr = application/octet-stream would be better ?

    daschmc

    (@daschmc)

    Try using mp4/h265 as still Image. MP4 is widely supported by any browser (only Edge needs paid plugin).

    My Image Blog is showcasing HDR via WordPress: https://daschmc.de/blog/

    Plugin Author kimipooh

    (@kimipooh)

    It depends on what MIME type your WordPress determines the hdr extension to be.

    If you want to ignore the WordPress-side determination, turn off the following option in this plugin. By turning it off, the WordPress extension checking is disabled, so you can set the appropriate MIME settings on this plugin.

    ‘Enable the attempt t odetermine the real file type of a file by WordPress core.’

    If, for security reasons, you want to leave the WordPress-side checking of whether a file extension contains the expected data enabled, please refer to the following to check what MIME Type your WordPress determines the hdr extension to be .

    https://docs.google.com/presentation/d/1o4YHqP7s-EcctYSEYM2L7HLJtqhjA_mkY4VMjvTdj20/edit?usp=sharing

    • This reply was modified 3 months ago by kimipooh.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.