Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customization for zoom levels in PhotoSwipe 5 #101

Open
4 tasks
arnowelzel opened this issue Jan 3, 2024 · 0 comments
Open
4 tasks

Add customization for zoom levels in PhotoSwipe 5 #101

arnowelzel opened this issue Jan 3, 2024 · 0 comments

Comments

@arnowelzel
Copy link
Owner

Also see:

https://wordpress.org/support/topic/is-there-a-way-to-change-the-initial-zoom-level/
https://wordpress.org/support/topic/smooth-zoom-does-not-work-on-pc/

For some users it may be helpful to customize the zoom levels for initial zoom and maximum manual zoom. These are two options passed to PhotoSwipe 5 on initialization and are fixed values at the moment.

To do:

  • Add backend setting for initial zoom level, only available if PhotoSwipe 5 is selected
  • Add backend setting for maximum zoom level, only available if PhotoSwipe 5 is selected
  • Add passing the zoom settings to the frontend
  • Add using the zoom settings for PhotoSwipe 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant