Artefact2 / tiny-photo-portfolio

A minimalistic static photography portfolio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tiny-photo-portfolio

A minimalist static photography portfolio.

See a live demo here.

Released under the WTFPLv2 license.

Uses Mousetrap.js, released under the Apache 2.0 license: http://craig.is/killing/mice

Uses Hammer.JS, released under the MIT license: https://hammerjs.github.io/

Usage

  • Copy in.skel folder to in.

  • Alter contents of in files to taste.

  • Put your photos in the img directory.

  • Run make.

  • Upload the out folder to your webserver. You're done!

Tips

Make sure your webserver sends some kind of caching headers (ETags, Last-Modified, etc.) for bandwidth efficiency. Also make sure it is compressing static content.

Make sure your MIME types are properly configured, particularly .xhtml files must be served with the application/xhtml+xml content type.

Dependencies

These are only needed for generating the static pages. They are not required on the server that will be hosting the pages.

  • PHP ≥ 5.6 (CLI only)
  • ImageMagick
  • Sass
  • libbpg

About

A minimalistic static photography portfolio.

License:Do What The F*ck You Want To Public License


Languages

Language:PHP 58.3%Language:JavaScript 20.4%Language:Makefile 9.7%Language:CSS 6.4%Language:HTML 5.2%