This is the official website for Louis Hitchcock's photography portfolio. The website showcases a gallery of images dynamically loaded from a JSON file and includes features like lazy loading for improved performance.
Visit the live website: LouisHitchPhotos
- Responsive design that adapts to different screen sizes.
- Dynamically loaded gallery from
images.json. - Lazy loading of images for better performance.
- Consistent spacing between portrait and landscape images.
LouisHitchPhotos-Website/
│
├── css/
│ ├── gallery-style.css
│ └── style.css
│
├── images/
│ ├── LogoScaled.png
│ ├── image (1).jpg
│ ├── image (2).jpg
│ └── ... (other images)
│
├── js/
│ └── gallery-script.js
│
├── index.html
├── images.json
└── README.md
-
Clone the repository:
git clone https://github.com/LouisHitchcock/LouisHitchPhotos-Website.git cd LouisHitchPhotos-Website -
Open the project in your preferred code editor.
-
Ensure all dependencies are installed (for development with a server):
- You can use a simple HTTP server like
http-serverfor local development:npm install -g http-server http-server
- You can use a simple HTTP server like
-
Open
index.htmlin your web browser to view the website.
- Navigation: The website features a menu with links to Louis Hitchcock's GitHub and Instagram profiles.
- Gallery: Images are loaded dynamically from
images.jsonand displayed in a responsive grid layout. The gallery supports lazy loading to optimize performance. - Styling: Custom styles are applied through
gallery-style.cssandstyle.css.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes.
- Commit your changes:
git commit -m "Description of your changes" - Push to the branch:
git push origin feature-name
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please contact Louis Hitchcock:
- GitHub: LouisHitchcock
- Instagram: louishitchphotos