Skip to main content

A modern local image gallery server with thumbnails and modal viewer

Project description

GalleryServer

A simple image gallery server.

Installation

Install GalleryServer directly or from the GitHub repository using pip:

pip install galleryserver

or

pip install git+https://github.com/vinojhosan/galleryserver.git

Usage

After installation, run the server with:

galleryserver [PORT] [OPTIONS]
  • PORT (optional): Port to serve on (default: 8000).

Arguments

Argument / Option Description Default
PORT Port to serve on 8000
--thumbnail-size Thumbnail size in pixels 200
--directory, -d Directory to serve Current directory (.)

Example

galleryserver 12345 -d /path/to/images --thumbnail-size 300 

🚀 Features

🖼 Modern Thumbnail Gallery

  • Auto-generated thumbnails (fast + cached)
  • Responsive grid layout
  • Smooth fade-in animations
  • Works on mobile and desktop

🔍 Full Image Viewer (Modal)

  • Click image → opens large preview
  • Double-click → opens original image in new tab
  • Navigate using:
    • ← / → arrow keys
    • Swipe left/right (mobile)
    • On-screen Prev/Next buttons

🔎 Advanced Zoom & Pan

  • Mouse wheel zoom
  • Drag to pan
  • Pinch-to-zoom (mobile)
  • Double-tap zoom
  • Reset zoom button

🎞 Slideshow Mode

  • Auto-play slideshow
  • Play/Pause toggle
  • Spacebar toggles slideshow

🖥 Fullscreen Mode

  • Click image to toggle fullscreen
  • Clean, immersive view

🤝 Contributing

Pull requests and suggestions are welcome!

⭐ Support the Project

If you like this project, please ⭐ star it on GitHub:

https://github.com/vinojhosan/galleryserver

📝 License

This project is open-source and available under the MIT License.
See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galleryserver-1.0.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

galleryserver-1.0.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file galleryserver-1.0.0.tar.gz.

File metadata

  • Download URL: galleryserver-1.0.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for galleryserver-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8e987a0103f25a95836e386709b2389ab254e5115257e1e19995b6c1dd4e2e9d
MD5 31c732e82cb24b4e1a0c931a8efd85c1
BLAKE2b-256 fb2d4db748ad7f7caca93be52cec20e839c833a67a2f08a0c83e450e87958190

See more details on using hashes here.

File details

Details for the file galleryserver-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: galleryserver-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.19

File hashes

Hashes for galleryserver-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 868cd5e76dd282efcfda83ead7bdc622e7ff277918f3cfe96ec37b0ee865513d
MD5 1f304a098ed676ca61228650a534ae71
BLAKE2b-256 f51c0f5e427e0975b62e3d065e48d47ffc74b8b36b061a1bde49b3b0e6cc1c6d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page