Am I doing something wrong or does TrueNAS/Nextcloud not support HEIC images?

I’m not super knowledgable on this topic so unsure how to fix (if possible to fix)

Thanks

  • just some guy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    If you want to be able to watch/preview the HEIC images, you can edit the available mime type for Nextcloud’s Viewer. (I do this to our company’s NC so customers can use viewer for PDFs and employees can get previews/thumbnails of TIFFs, AIs and PSDs. For HEIC, just go to your NC’s ‘apps/viewer/js/viewer-main.js’ and add ‘image/heic’ and ‘image/heic-sequence’ to the mimetype list (about halfway down, I hgihly recommend using VSCode+a formatter to make finding it easier)

    • N-E-N@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Ngl a lot of that went over my head but, I’ll look into it, thank you

    • N-E-N@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      That picture is on Android but it doesn’t load correctly on any device

  • MonkderZweite@feddit.ch
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    Convert them to another format?

    Like find "path" -name "*.ext" | xargs mogrify -format jpg or so.

    • N-E-N@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      11 months ago

      I’d rather just have HEIC natively supported if possible