mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): load original (#11786)
* fix(mobile): load original * revert change to format
This commit is contained in:
parent
9e21f254cd
commit
7d888106ed
4 changed files with 17 additions and 15 deletions
|
|
@ -55,12 +55,8 @@ String getAlbumThumbNailCacheKey(
|
|||
);
|
||||
}
|
||||
|
||||
String getImageUrl(final Asset asset) {
|
||||
return getImageUrlFromId(asset.remoteId!);
|
||||
}
|
||||
|
||||
String getImageUrlFromId(final String id) {
|
||||
return '${Store.get(StoreKey.serverEndpoint)}/assets/$id/thumbnail?size=preview';
|
||||
String getOriginalUrlForRemoteId(final String id) {
|
||||
return '${Store.get(StoreKey.serverEndpoint)}/assets/$id/original';
|
||||
}
|
||||
|
||||
String getImageCacheKey(final Asset asset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue