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

Image Gallery #69

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Image Gallery #69

wants to merge 10 commits into from

Conversation

EricTRL
Copy link
Contributor

@EricTRL EricTRL commented Jun 15, 2024

Adds a separate page showing photo's of the past year(s). Images should still be added at a later point. Supports translations (if available) and mobile screens.

A gallery can be added through the {{< gallery <asset_category_data_name> <unique_identifier> >}} shortcode
Asset groups are defined in /assets/fantasy-court/gallery.yaml. An example is provided.

Screenshots

gallery

single image (PC)

single image (mobile)

EricTRL added 10 commits June 15, 2024 16:05
Handle images of different sizes
Display on all screen sizes; adjust positioning
Fixed an issue where the modal extended all the way across the page vertically, preventing it from being closed while clicking above/below the image.
Also fixes an issue where the extra label always appeared at the bottom of the page.

Added bootstrap's breakpoints.
Navigation and header image will now extend below the vertical scrollbar, preventing a gap from appearing when the scrollbar is hidden (e.g. because of modals)
Added a gallery-resource that allows defining gallery items.

No longer upscales lower-quality images that are smaller than the screen size.
Page left in draft state so it isn't published
Horizontally center it
@EricTRL EricTRL added the enhancement New feature or request label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant