Code Monkey home page Code Monkey logo

photography's Introduction

Photography

A jekyll website for photographers

Highlights

  1. Easy setup and you get a site of your own for free.
  2. To add new pictures, you need to just upload them. No code changes required.
  3. This I like the most, you get to see EXIF data like aperture, shutter speed, iso etc when you click on any image automagically.

Quick Start

If you know a tad about tech and love taking pictures then this open-source project may help you setup a website to showcase all your creations without effort. And not just that, with this you need not pay a single dime to host your website as it's hosted by GitHub for free.

Just follow the below steps and your website would be live in no time:

  1. Fork this repo by hitting the Fork button at the top right corner.
  2. Enable github pages from the repo settings.
  3. Upload your pictures to images/fulls and images/thumbs directory. You can do that on github.com itself or you can clone and push the images to your repo.
  4. Add your own custom domain in CNAME file or just remove the file if you don't own a domain and use the default domain that github provides ([yourusername].github.io/photography).
  5. Update baseurl field in _config.yml file with whatever domain you used in step 4.
  6. And that's it, your website is set. To view, go to photography.ramswaroop.me (or whatever you have in the CNAME file) and if you don't have one, you can go to [yourusername].github.io/photography

And of course, you don't want my name at the bottom to show up. You can change it in _config.yml file as well as few other settings like your google analytics etc.

ProTips

I have made this as an npm package with gulp to automate image resizing and thumbnail generation. So if you're lazy like me then you can just do the following before you push your images to github.

  1. Fork and then clone the project to your computer
  2. Go inside the project $ cd photography
  3. Install all dependencies by $ npm install
  4. Copy all your pictures (possibly jpg, the largest size available, straight from your camera) and put it inside images directory
  5. Run $ gulp to resize the images and to generate thumbnails automatically
  6. Push your changes to github.com by $ git add --all and $ git commit -m "a nice commit message" and then finally $ git push origin master

Contact Form

You can make the contact form work without the need of any server-side code. Just follow this article on github which uses a simple google script to send emails or to upload to a google spreadsheet when someone submits the form.

Credits

Thanks to AJ for the website template which I enhanced for jekyll.

photography's People

Contributors

rampatra avatar fon-luchs avatar ramswaroop avatar samcolby avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.