Could you find any related message in your Nextcloud log file if you run a scan command (make sure that “'loglevel' => 0,” is set)?
BTW, you can most likely speed-up your tests if you place some HEIC files in a dedicated directory and use the preview:generate --path=<path-to-dedicated-dir>" command as documented in the command help.
did not want to open another thread, hope its ok to post here.
I have nc 17.0.1 and imagemagic 7.x. I can see HEIC preview and when I right click and select details, I can see a picture on the right hand corner.
However, if I click on the name of the picture, or the small thumbnail of the HEIC itself, the browser attempts to download the image. If I do the same to an jpg or png file, the image opens nice and big and I can view it in browser. How can I have the same behaviour for the HEIC file as I get with a jpg or png file?
I have exactly the same behaviour. When I work with the pictures, its easier to do with the file view and not the gallery. Problem is, I like to preview the picture before I delete or download it. With JPEG and other older formats, its no problem, just HEIC.
Thank you. I hope this will be implemented soon. It seems like the preview is working in gallery view, it just needs to be “ported” to the file view. But I don’t know the inner workings of nextcloud …
It seems you haven’t read all provided information in detail. Follow the description provided in posting “HEIC/MOV previews” to get the imagemagick support enabled on the console. Once it is supported by the console programs you can enable the php module and the used command will return the expected information
Thank you very much for your answer.
These two commands have returned the expected information. But the preview still doesn’t appear . And I can’t open the link you gave me because of the region .headache！
I did not succeed to have .heic preview in browser.
I still have exactly the same behavior as described by manojknaikade i.e. I get an empty output for php -r ‘phpinfo();’ | grep HEIC.
Also, checking a phpinfo.php via browser, I don’t find HEIC support in the installed imagick module description (capture attached).
One thing to be signaled also: when launching the autogen.sh and configure in the sequence below, I get “No such file” error.
but the libheif folder does contain some files:
root@cloud:/usr/src/imagick-3.5.1# cd /usr/src/libheif/
CMakeLists.txt README.md examples gnome logos tests
CMakePresets.json appveyor.yml extra go post.js third-party
COPYING build-emscripten.sh fuzzing libheif pre.js
CPPLINT.cfg cmake gdk-pixbuf libheif.pc.in scripts
root@cloud:/usr/src/libheif# cd /usr/src/libheif/
-bash: ./autogen.sh: No such file or directory
-bash: ./configure: No such file or directory
Could someone guide me from here?
My configuration is:
PHP Version 7.4.3-4 ubuntu2.18
Nextcloud Hub 3 (25.0.7)
I have preview-generator working with other types of images.