Skip to content

a simple picture gallery based on hunchentoot/restas framework

License

Notifications You must be signed in to change notification settings

necto/cl-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cl-gallery

cl-gallery -- is a common lisp web application, based on RESTAS framework, and running on hunchentoot server. It is the example of utilization hunchentoot file-uploading mechanism.

Features

  • Uploader:
  • ajax upload -- no buttons, uploading files right after selecting them.
  • multiple files upload -- uploading several files at a time.
  • MIME type filter -- filters the uploaded files by it's type on both client and server sides
  • Gallery:
  • Nested albums, forming any tree, you want
  • Logic and view separation for better integration
  • Pictures in album are arranged on the page by masonry JS pluguin.
  • Picture view is boosted by the lightbox JS pluguin.

Platform

Currently cl-gallery requires sbcl, imagemagick utility /usr/bin/convert for scaling images into thumbnails and and exiftool /usr/bin/exiftool for extracting a creation time from uploaded pictures. Also the lightbox and masontry aren't included into the repository, you need to install them into the static/js and static/css folders to enjoy the beautiful slideshow. The html in the minimal version is rendered by cl-who library, easily uptained by quicklisp. You can easily use any other html-generation library, and customize only those parts of appearance, which you need by defining corresponding methods.

Usage

Uploader:

{TODO} See the example of usage in gallery.lisp

Gallery

{TODO} See the example of usage in hello.lisp

License

cl-gallery is licensed under LLGPL terms.

About

a simple picture gallery based on hunchentoot/restas framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published