-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
refactor(mobile): Immich image provider #7016
Conversation
Deploying with Cloudflare Pages
|
mobile/lib/modules/asset_viewer/image_providers/immich_remote_image_provider.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for working on this. I've added few comments, Can you please look into them?
* feat(mobile): thumbhash support * perf(mobile): store bmp thumbhash bytes in Isar --------- Co-authored-by: shenlong-tanwen <[email protected]>
…p/immich into refactor/immich-image-provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please check the outstanding comments? Also, we need to update ImmichImage
to ImmichImage.thumbnail
in the following two places:
SharedAlbumThumbnailImage
SharingPage::buildAlbumList
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Fantastic work <3
I left the thumbhash support out for now and we will reimplement it back after the image provider work gets merged for the sanity of our reviewers. I've resolved everything once more and this is ready for review once more! |
* uses local thumb first * Multipart thumbnail * Clean up file delete * await file delete * Fynn's comments, made thumbnail smaller and doesn't crash on erroring out on thumbnail * lint --------- Co-authored-by: Marty Fuhry <[email protected]> Co-authored-by: Alex <[email protected]>
mobile/lib/modules/asset_viewer/image_providers/immich_local_image_provider.dart
Outdated
Show resolved
Hide resolved
mobile/lib/modules/asset_viewer/image_providers/immich_local_image_provider.dart
Outdated
Show resolved
Hide resolved
…a thumbnail anyway first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Can't wait to see it in action on my phone :)
ImmichImage
now uses its own image providers for much better image loading