diff --git a/frontend/src/components/sidebar/PhotoInfoPanel.tsx b/frontend/src/components/sidebar/PhotoInfoPanel.tsx index 5253dd0..d84a67b 100644 --- a/frontend/src/components/sidebar/PhotoInfoPanel.tsx +++ b/frontend/src/components/sidebar/PhotoInfoPanel.tsx @@ -417,7 +417,12 @@ export function PhotoInfoPanel({ photoId, darkTheme = false }: PhotoInfoPanelPro className="mt-0.5 break-all font-mono text-[11px] text-text" title={photo.filepath} > - {photo.filepath || '—'} + {photo.filepath + ? photo.filepath.replace( + /^\/?nextcloud-users\/[^/]+\/files\//, + '…/', + ) + : '—'}

{hasGps && (