diff --git a/web/src/lib/components/asset-viewer/detail-panel.svelte b/web/src/lib/components/asset-viewer/detail-panel.svelte index 88ea98778faca..5e10e3eccc1ba 100644 --- a/web/src/lib/components/asset-viewer/detail-panel.svelte +++ b/web/src/lib/components/asset-viewer/detail-panel.svelte @@ -345,43 +345,45 @@ {/if} - {#if asset.exifInfo?.fileSizeInByte} -
- {asset.originalFileName}
- {#if isOwner}
-
+ {asset.originalFileName}
+ {#if isOwner}
+
+ {asset.originalPath}
+ {/if} + {#if (asset.exifInfo?.exifImageHeight && asset.exifInfo?.exifImageWidth) || asset.exifInfo?.fileSizeInByte}{getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)} MP
+ {@const { width, height } = getDimensions(asset.exifInfo)} +{width} x {height}
{/if} - {@const { width, height } = getDimensions(asset.exifInfo)} -{width} x {height}
{/if} -{getByteUnitString(asset.exifInfo.fileSizeInByte, $locale)}
+ {#if asset.exifInfo?.fileSizeInByte} +{getByteUnitString(asset.exifInfo.fileSizeInByte, $locale)}
+ {/if}- {asset.originalPath} -
- {/if} -