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

Create a Media section with the events photos #21

Open
FaberVitale opened this issue Dec 28, 2022 · 0 comments
Open

Create a Media section with the events photos #21

FaberVitale opened this issue Dec 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@FaberVitale
Copy link
Collaborator

Describe the problem

I want to:

  • display media (photos and videos) in a /media page
  • organize those images in sections: March 2019 photos, for instance.
  • I want to display thumbnails of those pic using a masonry layout and on click I want to show the whole picture.
  • I want to be able to add comments below the picture.

Describe the proposed solution

We need to add the following pages:

  • /media lists all images using pagination if necessary
  • /media/item/[unique-stable-image-hash] displays pic + comments.
  • image hashes have got to be unique and stable in order to work with giscus.

We need to:

  • generate thumbnails automatically during the build phase.
  • optimize the images during the build: there's already an astro plugin.
  • gather images and organize them in sections.

As much as possible we need to rely on filesystem conventions in order to automatically generate the media sections.

Alternatives considered

nope

Importance

nice to have

@FaberVitale FaberVitale added the enhancement New feature or request label Dec 28, 2022
@gdorsi gdorsi changed the title add media page Create a Media section with the events photos Aug 23, 2023
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
No open projects
Status: From RomaJS Community
Development

No branches or pull requests

1 participant