mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(mobile): enable zoom of preview images & reuse cached thumbnails (#1049)
This commit is contained in:
parent
99854e90be
commit
83c7434eb5
6 changed files with 37 additions and 17 deletions
|
|
@ -62,7 +62,7 @@ class ImmichImage extends StatelessWidget {
|
|||
return CachedNetworkImage(
|
||||
imageUrl: thumbnailRequestUrl,
|
||||
httpHeaders: {"Authorization": "Bearer $token"},
|
||||
cacheKey: 'thumbnail-image-${asset.id}',
|
||||
cacheKey: getThumbnailCacheKey(asset.remote!),
|
||||
width: width,
|
||||
height: height,
|
||||
// keeping memCacheWidth, memCacheHeight, maxWidthDiskCache and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue