dirtybirdnj / vtj-final-final

its either this or nothing. final final for real verticaltubejig.com
https://vtj-final-final.vercel.app
0 stars 0 forks source link

Gallery Page #7

Closed dirtybirdnj closed 1 year ago

dirtybirdnj commented 1 year ago

The photos / gallery page should just be one HUGE masonry grid of pictures

It would be nice if the clicked pictures could open in a lightbox, but if not im fine with just a big picture grid

dirtybirdnj commented 1 year ago

The gallery page now has content being displayed.

https://vtj-final-final.vercel.app/

Still need to implement a lightbox solution but the package supports it and even has an example implementation!

http://neptunian.github.io/react-photo-gallery/

dirtybirdnj commented 1 year ago

this ticket is not complete until:

  1. gallery page is populated with images from cloudinary
  2. gallery array is generated with fetchCDNPhotos.js
  3. gallery images can be clicked on and lightbox pops
dirtybirdnj commented 1 year ago

gallery page currently pulls 1600mb+ with ~96 photos displaying

need to implement srcSet solution so we let browsers decide what to load and enable zoom for fullres

http://neptunian.github.io/react-photo-gallery/examples/srcset-and-sizes.html

dirtybirdnj commented 1 year ago

srcSet works! loads better on mobile. still need a new ticket to address automating gallery creation but it works for now