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 glightbox functionality to allow zooming of the photos #296

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

glennawatson
Copy link
Contributor

Summary

Adds lightbox ability to the website.

If the user clicks on the photo it shows a lightbox with the ability for the user to use arrows on the edge of the screen to change between photos.

Changes

Changes:

  • Add a lightbox

@glennawatson
Copy link
Contributor Author

glennawatson commented Aug 22, 2024

To test yourself, just mkdocs --serve, then click on a image in the East Sale TCU for example to get a zoomed in version of the photo. Click on the arrows on the edges or swipe on a mobile device to swap between

@glennawatson
Copy link
Contributor Author

Also don't forget to run pip install -r requirements.txt to update to having glightbox installed.

Copy link
Collaborator

@mattk04 mattk04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much Glenn, this is a game changer. Love your work

@mattk04 mattk04 added the notify Send notification to Discord on merge label Aug 23, 2024
@mattk04 mattk04 merged commit 26725f8 into vatpac-technology:main Aug 24, 2024
glennawatson pushed a commit that referenced this pull request Mar 24, 2025
Add glightbox functionality to allow zooming of photos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notify Send notification to Discord on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants