This project was bootstrapped with Create React App.
- Log into Cloudinary CDN.
- Go to the Media Library tab.
- Open the
image-gallery
folder. - Create a new project folder in the desktop, mobile, and tablet folders with the same name.
Such asdesktop -> project-6
- Inside each of the new project folders create a folder named
hero
. - Upload the new hero image and place it inside the hero folder.
- Add a Metadata Tag with the window size, and project folder name.
Ex.desktop-project-5
ormobile-project-5
- Navigate back to the project folder.
- Upload all the thumbnail images and full size images to the folder.
- Give each image a metadata tag like step 6.
- Give each image a tag with the window size and the related phase.
Ex.desktop-during
ormobile-after
- Go back to the project folders
- Open the
src/Helpers/GLOBAL_DEFS.js
file - Add your new project name to the
IMAGE_GROUPS
object.
Ex.IMAGE_GROUPS: { PROJECT_1: 'project-1', PROJECT_2: 'project-2', PROJECT_3: 'project-3', PROJECT_4: 'project-4', PROJECT_5: 'project-5', NEW_PROJECT_NAME: 'new-project-name' },
- Open the javascript page file you want to add the images to.
Ex.pages -> OurWork.js
- In an
useEffect
hook add the call to retrieve the new image files.
Ex.const galleryImageGroup5 = getImageGroup(GLOBAL_DEFS.IMAGE_GROUPS.PROJECT_5)
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify