Info

{#if !asset.exifInfo}

NO EXIF INFO AVAILABLE

{:else}

DETAILS

{/if} {#if asset.exifInfo?.dateTimeOriginal} {@const assetDateTimeOriginal = new Date(asset.exifInfo.dateTimeOriginal)}

{assetDateTimeOriginal.toLocaleDateString(locale, {month:'short', day:'numeric', year: 'numeric'})}

{assetDateTimeOriginal.toLocaleString(locale, {weekday:'short', hour: 'numeric', minute: '2-digit', timeZoneName:'longOffset'})}

{/if} {#if asset.exifInfo?.fileSizeInByte}

{`${asset.exifInfo.imageName}.${asset.originalPath.split('.')[1]}` || ''}

{#if asset.exifInfo.exifImageHeight && asset.exifInfo.exifImageWidth} {#if getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)}

{getMegapixel(asset.exifInfo.exifImageHeight, asset.exifInfo.exifImageWidth)} MP

{/if}

{asset.exifInfo.exifImageHeight} x {asset.exifInfo.exifImageWidth}

{/if}

{asByteUnitString(asset.exifInfo.fileSizeInByte)}

{/if} {#if asset.exifInfo?.fNumber}

{asset.exifInfo.make || ''} {asset.exifInfo.model || ''}

{`ƒ/${asset.exifInfo.fNumber.toLocaleString(locale)}` || ''}

{#if asset.exifInfo.exposureTime}

{`1/${Math.floor(1 / asset.exifInfo.exposureTime)}`}

{/if} {#if asset.exifInfo.focalLength}

{`${asset.exifInfo.focalLength.toLocaleString(locale)} mm`}

{/if} {#if asset.exifInfo.iso}

{`ISO${asset.exifInfo.iso}`}

{/if}
{/if} {#if asset.exifInfo?.city}

{asset.exifInfo.city}

{asset.exifInfo.state}

{asset.exifInfo.country}

{/if}
{#if albums.length > 0}

APPEARS IN

{/if} {#each albums as album}
dispatch('click', album)}>
{album.albumName}

{album.albumName}

{album.assetCount} items

{#if album.shared}

· Shared

{/if}
{/each}