#Astro Image Zoom

2 messages · Page 1 of 1 (latest)

hearty herald
#

Hello!

Does anyone know a nice integration for Astro which automatically makes all images zoomable, like some Lightbox libraries for JS projects or HiDeoo's Starlight Image Zoom for Starlight?

This question has been asked before, but I'm interested if some standard way exists nowadays.

Transitions are optional but much appreciated.

hearty herald
#

Okay, I achieved it with the nice packages medium-zoom, there where some small struggles with aspect-ratios as this support thread mentions, but you can see how I achieved something nice in this PR (besides adding another post in the PR). I wish you good luck achieving your goal as well! 😉🥳

GitHub

Summary by CodeRabbit

New Features

Added zoom functionality for images marked as zoomable throughout the site.
Enabled support for MDX content and integrated MDX files into the content workflow....