Skip to content

slealq/imageGalleryClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Violet Visual Gallery

A modern, interactive image gallery application built with Astro and React. This application allows users to view, manage, and interact with images in a beautiful and intuitive interface.

Features

  • 📸 Interactive image gallery with grid and list views
  • 🔍 Fullscreen image viewing with zoom capabilities
  • ✂️ Image cropping functionality
  • 📝 Image caption editing
  • 🎨 Modern, responsive design
  • ⚡ Fast performance with Astro's partial hydration
  • 🖼️ Support for various image formats

Project Structure

/
├── public/           # Static assets
├── src/
│   ├── assets/      # Project assets
│   ├── components/  # React and Astro components
│   │   ├── Gallery.astro        # Main gallery component
│   │   ├── GalleryReact.tsx     # React gallery implementation
│   │   ├── FullscreenModal.astro # Fullscreen image viewer
│   │   ├── CropModal.astro      # Image cropping interface
│   │   ├── CaptionModal.astro   # Caption editing interface
│   │   ├── Drawer.astro         # Navigation drawer
│   │   ├── Image.astro          # Image component
│   │   └── Welcome.astro        # Welcome screen
│   ├── layouts/     # Page layouts
│   ├── pages/       # Application pages
│   ├── styles/      # Global styles
│   ├── types/       # TypeScript type definitions
│   └── utils/       # Utility functions
└── package.json

Getting Started

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
  4. Open http://localhost:4321 in your browser

Available Scripts

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying

Gallery Features

Image Viewing

Gallery View

  • Grid and list view options
  • Responsive layout
  • Smooth image loading
  • Thumbnail previews

Fullscreen Mode

Fullscreen View

  • Zoom in/out functionality
  • Pan and drag support
  • Navigation between images
  • Image information display

Image Editing

Caption Editing

Caption Editing

  • Add and edit image captions
  • Save changes to image metadata

Image Cropping

Image Cropping

  • Crop images to desired dimensions
  • Preview crop results
  • Maintain aspect ratio

Export Options

Export Selection

  • Select multiple images
  • Export as ZIP archive
  • Batch processing capabilities

Technologies Used

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Web-based client app, meant to manage an image gallery, generate captions, crop images, and export selections into zip files for generating data sets for AI training.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors