New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

picture-show

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picture-show

Command line tool for generating shareable photo albums

  • 0.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Picture Show

A command line tool for generating a photo gallery from a folder of images.

Demo Gallery

Installation

npm install -g picture-show

Usage

Pass Picture Show a folder of images and tell it where to export the gallery to. Picture Show will resize the images to a set width (default is 1400px) and copy them into a new folder, named with a random string, along with the gallery HTML/CSS/JS. The original images will not be modified.

The image resizing library does not support HEIC so if exporting from Apple Photos make sure to export JPGs.

The script checks the Exif data for creation date (using DateTimeOriginal) and sorts by date.

$ picture-show [source images dir] [export dir]

Example: $ picture-show ~/Desktop/photoFolder ~/Desktop

Options

--show-date : add this flag to display the photo creation date in the gallery

-w [width in px] : sets the width of the photos. default is 1400

Example with options: $ picture-show ~/Desktop/photoFolder ~/Desktop -w 2000 --show-date

Credits

blueimp Gallery for the front end. Sharp for image resizing. jpeg-exif for reading exif data. minimist for parsing command line arguments. fs-extra for file manipulation.

FAQs

Package last updated on 27 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc