Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEIC pictures get downloaded instead of viewed in files #15274

Closed
tiiiecherle opened this issue Apr 28, 2019 · 4 comments
Closed

HEIC pictures get downloaded instead of viewed in files #15274

tiiiecherle opened this issue Apr 28, 2019 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap

Comments

@tiiiecherle
Copy link

tiiiecherle commented Apr 28, 2019

Hey,

first of all thanks for alle the hard work put into this. Keep it up, very much appreciated.

When logged in via Safari on macOS (same happens with Firefox) in your nextcloud account and you upload a .jpg and a .heic to a folder then when clicking on the .jpg the picture viewer opens and displays the picture. When clicking on the .heic the picture gets downloaded instead of getting viewed in the browser.

Thumbnail preview works for both, .jpg and .heic and both are shown correctly in the gallery. The .heic can be shown by clicking gallery and then clicking on the .heic picture.

So only the click on the .heic picture in files in the browser seems to have a wrong action associated and should view the .heic picture instead of downloading.

  • nextcloud version 16.0.0
  • nginx on archlinux with all packages up-to-date
  • preview is enabled for .heic files ('OC\Preview\HEIC',)
  • libheif and imagemagick are installed
  • php-imagick is installed and activated
  • tested on macos 10.14.4 Safari and Firefox

Thanks for looking into it in advance.

@alsacefan
Copy link

I have exactly the same issue. NC version 16.0.0.

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@schmurtzm
Copy link

schmurtzm commented Dec 23, 2019

Hi, Same behavior here with NC 17.0.2 . I run NextCloud in a Nextcloud VM Pre-installed (ubuntu 18.04.3 , NextCloud 17.0.2). viewing heic files in "Gallery" section is OK but not in "file" section.

I've followed this article to compile ImageMagick with HEIC support and update "PHP Imagick Plugin" to have HEIC files support.

So HEIC thumbnails are OK but still not possible to see it in the viewer. For example if I open a .jpg file and then I use right arrow to see the next image file, I see only .jpg files and not the HEIC : these are bypassed by the viewer.

I don't know if this information is useful but on iphone app thumnails and viewer are OK even in "Files" section of the app.

@kesselb
Copy link
Contributor

kesselb commented Dec 27, 2019

The enhancement issue for viewer is over here: nextcloud/viewer#4

@szaimen
Copy link
Contributor

szaimen commented May 28, 2021

HEIC support was added with nextcloud/viewer#577 -> closing.

@szaimen szaimen closed this as completed May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap
Projects
None yet
Development

No branches or pull requests

6 participants