Thanks to visit codestin.com
Credit goes to github.com

Skip to content

takes a directory listing of /public/img, creates thumbnail files, and uses the resulting array of filenames to build a web page of img tags pointing to the files in the /public/img directory. Onclick, the SRC property for the IMG tag is set to the original, high quality image.

Notifications You must be signed in to change notification settings

christopherdonner/imagebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imagebot

art gallery/css sandbox

create a subfolder of /public/ named /img/ and populate it with png or jpg files, server will build and serve webpage of said images

takes a directory listing of /public/img, creates thumbnail files, and uses the resulting array of filenames to build a web page of img tags pointing to the files in the /public/img directory. Onclick, the SRC property for the IMG tag is set to the original, high quality image.

Instructions: Clone repo Browse to root. Run: npm install cd public mkdir img Place images in the ./public/img/ directory Run: npm start browse to: localhost on the port specified

About

takes a directory listing of /public/img, creates thumbnail files, and uses the resulting array of filenames to build a web page of img tags pointing to the files in the /public/img directory. Onclick, the SRC property for the IMG tag is set to the original, high quality image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published