If I click on certain images, Discourse animates zooming the image.
This zooming animation can trigger migraines. Google Maps is a worse example. Either removing the animation, or checking for prefers-reduced-motion and using that as a cue to skip the animation, could be safer for users with these migraines.