📸 A React.js-based gallery of some of my favorite photos
A place for my photos to shine (in more glory than Instagram can deliver).
I used the amazing create-react-app as a starting point for this site, and added a few things to make it my own.
public/imagesfolder
exif.js. This Node script uses
node-exiftoolto loop over each image in the folder and extract exif data. The particular data I wanted to display was the aperture, shutter speed, ISO, and focal length. This data is dropped into
manifest.ts, which is ignored by git to avoid too many sources of truth (in this case, the images remain the sources of truth).
index.tsxis what imports the data from
manifest.tsand passes it as props to the images, which are rendered as React components.