You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to view images full screen and at 'full size' by zooming.
Lightboxes are a common way to achieve this but they're tricky to get right across browsers and on mobile. They can introduce lots of dependencies.
To keep things light we should explore options with minimal dependencies but are robust and feature rich. Discourse documented their approach to achieving this - though they use an ember js component. PostOwl could take inspiration from them and explore option for doing something similar in Svelte (or investigate libraries like Svelte Lightbox).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It would be nice to be able to view images full screen and at 'full size' by zooming.
Lightboxes are a common way to achieve this but they're tricky to get right across browsers and on mobile. They can introduce lots of dependencies.
To keep things light we should explore options with minimal dependencies but are robust and feature rich. Discourse documented their approach to achieving this - though they use an ember js component. PostOwl could take inspiration from them and explore option for doing something similar in Svelte (or investigate libraries like Svelte Lightbox).
Beta Was this translation helpful? Give feedback.
All reactions