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 file
Here 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.html
in 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.