Painless PhotoSwipe Lightboxes for Astro MDX Blog Posts

How to integrate PhotoSwipe with Astro's MDX content and image optimization pipelines for a performant, painless image gallery experience in Astro blog posts.