Welcome to PicLens - an immersive photo gallery website where users can explore stunning images across various categories using the Unsplash API. 🌟
Check out the live demo of PicLens here 🚀.
- 🔍 Category-Based Photo Selection: Users can search 9 categories photos: Animals, Nature, Experimental, Technology, Food, Travel, Rising Stars, and Films.
- 🔄 Dynamic Photo Fetching: Photos are fetched dynamically from the Unsplash API.
- 🖼️ Paginated Gallery: Each page displays 12 photos, and users can navigate up to five pages.
- 🔍 Search Functionality: Users can search for any photo using relevant keywords.
- 💻 Fully Responsive: The gallery adapts to different screen sizes for a flawless experience across devices.
| Category | Description |
|---|---|
| Animals | Photos of animals in their natural habitat |
| Nature | Stunning landscapes and natural elements |
| Experimental | Creative and unique experimental photography |
| Technology | Images of technology, gadgets, and more |
| Food | Mouthwatering shots of food and beverages |
| Travel | Explore the beauty of the world through travel photography |
| Rising Stars | Featuring the work of rising photography stars |
| Films | Cinematic shots and film photography |
- HTML5: For the structure of the web pages.
- CSS3: For styling and making the website responsive.
- JavaScript: For dynamic content and API integration.
- Unsplash API: To fetch high-quality photos for the gallery.
📁 PicLens
└── 📁 assets
└── 📁 JS
└── 📁 modules
└── 📁 ajax # API request
└── 📁 config # Configuration
└── 📁 db # Storage
└── 📁 elements # HTML elements
└── 📁 handlers # Event Handlers
└── 📁 init # Initial function
└── 📁 listeners # Event listeners
└── 📁 photo # Photo related
└── 📁 ui # DOM update
└── 📁 utilities # Utility functions
├── 📄 app.js # Main js file
└── 📁 Styles # css files
└── 📄 index.html # HTML fileHere are a few snapshots of PicLens in action:
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Abdur-Rahman-Apu/PicLens.git
-
Navigate to the project folder:
cd PicLens -
Open
index.htmlin your browser to view the gallery.
- Project Name: PicLens
- Version: 1.0
- Languages: HTML, CSS, JavaScript
- API: Unsplash API
- Features: Photo search, category-based photo fetch, pagination, and responsive design.
A big thank you to the amazing community at Unsplash for providing high-quality images via their API and to MDN Web Docs for excellent documentation on HTML, CSS, and JavaScript.
If you find this project useful, please consider giving it a ⭐ on GitHub! Your support will encourage me to continue improving the project and developing more exciting web applications.
This project is licensed under the MIT License - see the LICENSE file for details.

