immich/web/src/lib
Aditya Gaurav 3c77c724c5
fix(web): Ensure profile picture is cropped to 1:1 ratio (#25892)
* fix(web): Ensure profile picture is cropped to 1:1 ratio

Fixes #20097

The profile picture was being captured from the PhotoViewer element
which could have non-square dimensions based on the original image.

Changed to capture from the crop container element which has the
aspect-square class, ensuring the output is always 1:1 ratio.

* fix: remove trailing whitespace to pass prettier check

---------

Co-authored-by: Aditya Gaurav <aditya-ai-architect@users.noreply.github.com>
2026-02-05 11:45:06 -06:00
..
__mocks__ fix: improve asset editor exit handling (#25917) 2026-02-05 12:01:54 +01:00
actions refactor: event manager (#25565) 2026-01-29 08:52:18 -05:00
assets feat(web): 2026 font (#25174) 2026-01-13 18:19:09 +00:00
attachments feat: workflow ui (#24190) 2025-12-20 21:07:07 -06:00
components fix: file name search label (#25916) 2026-02-05 17:24:58 +00:00
elements chore: lower case text + facelift (#25263) 2026-01-21 16:41:09 +00:00
managers fix: ensure theme stays in sync with @immich/ui (#25922) 2026-02-05 08:36:20 -05:00
modals fix(web): Ensure profile picture is cropped to 1:1 ratio (#25892) 2026-02-05 11:45:06 -06:00
services fix: prevent backspace from accidentally triggering delete modals (#25858) 2026-02-03 16:42:46 +00:00
stores refactor: event manager (#25565) 2026-01-29 08:52:18 -05:00
utils refactor: event manager (#25565) 2026-01-29 08:52:18 -05:00
constants.ts feat: restore database backups (#23978) 2026-01-20 09:22:28 -06:00
i18n.spec.ts feat: use prettier for i18n translations (#24623) 2026-01-06 15:02:10 +00:00
route.spec.ts refactor(web): routes (#25365) 2026-01-19 12:07:31 -05:00
route.ts refactor(web): routes (#25365) 2026-01-19 12:07:31 -05:00
types.ts chore: move models (#24778) 2025-12-22 15:23:57 +00:00
utils.spec.ts feat: improve asset-viewer next/prev perf and standardize preloading behavior (#24422) 2026-01-07 21:17:12 +01:00
utils.ts refactor: rename preloadManager to imageManager (#25436) 2026-01-22 21:11:57 -06:00