This project is an example of how you can create a responsive image gallery with React, imgix, and the react-imgix component.
To run the project on your local machine, follow these steps:
- Clone this project.
- In the project directory on your local machine, run
yarn
to install all the dependencies. - Use the
yarn run start
to start the development server and open the browser with the project.
If you’d like to run the demo using your own set of images, follow the imgix setup guide to create an imgix account and connect an image source.
Once your image source is deployed in imgix, change the images list and the image base URL in the src/Gallery.js
file.