From 8c2cefea493b95d17fc3d9c73f18502462f5c565 Mon Sep 17 00:00:00 2001 From: Zoe <62722391+juls0730@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:05:58 -0500 Subject: [PATCH] feat: add image viewer with zoom and pan Full-featured image viewer with pinch-zoom, scroll-zoom, drag-pan, double-click reset, and keyboard shortcuts. Animated open/close transitions match the origin element position. Integrates into attachment display with click-to-open behavior. --- app/components/Attachment/Display.vue | 22 +- app/components/ImageViewer.vue | 438 ++++++++++++++++++++++++++ 2 files changed, 458 insertions(+), 2 deletions(-) create mode 100644 app/components/ImageViewer.vue diff --git a/app/components/Attachment/Display.vue b/app/components/Attachment/Display.vue index 9fa5d8d..3151fd6 100644 --- a/app/components/Attachment/Display.vue +++ b/app/components/Attachment/Display.vue @@ -1,4 +1,6 @@