Limitations
Search bar shown in embedded photos
When Immer in Bewegung embeds photos in image view (see below), the search bar from Immich will be displayed unless you use a proxy pass with a sub-filter for your Immich installation. Hopefully, future releases of Immich will include an update allowing the search bar to be hidden via the Immich URL.
Workaround for Caddy
Activate module http.handlers.replace_response
, then use replace in Caddyfile
replace "</head>" "<script>(function(){const urlParams=new URLSearchParams(window.location.search);const ref=urlParams.get('ref');if(ref==='iib'){const style=document.createElement('style');style.textContent='#search-chips, #asset-selection-app-bar {display: none;}';document.head.append(style);}})();</script>"
The code above applies only to URL with ?ref=iib
so you can implement the code even if you want the search field for ordinary use.
Workaround for Nginx
Use sub-filter within the location tag in the Nginx site configuration file
sub_filter '</head>' '<script>(function(){const urlParams=new URLSearchParams(window.location.search);const ref=urlParams.get(\'ref\');if(ref===\'iib\'){const style=document.createElement(\'style\');style.textContent="#search-chips, #asset-selection-app-bar {display: none;}";document.head.append(style);}})();</script>';
The code above applies only to URL with ?ref=iib
so you can implement the code even if you want the search field for ordinary use.