├── .gitignore ├── images ├── IMG_1334.jpg ├── IMG_1392.jpg ├── IMG_1416.jpg ├── dotgrid-4.jpg ├── sketch01_2061.jpg ├── sketching_big.jpg └── 04_paper_sketches.png ├── style.css ├── LICENSE ├── README.md └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | _site -------------------------------------------------------------------------------- /images/IMG_1334.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/IMG_1334.jpg -------------------------------------------------------------------------------- /images/IMG_1392.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/IMG_1392.jpg -------------------------------------------------------------------------------- /images/IMG_1416.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/IMG_1416.jpg -------------------------------------------------------------------------------- /images/dotgrid-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/dotgrid-4.jpg -------------------------------------------------------------------------------- /images/sketch01_2061.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/sketch01_2061.jpg -------------------------------------------------------------------------------- /images/sketching_big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/sketching_big.jpg -------------------------------------------------------------------------------- /images/04_paper_sketches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eajitesh/github-gallery/gh-pages/images/04_paper_sketches.png -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #C8D3D6; 3 | font: 9px sans-serif; 4 | } 5 | 6 | a { 7 | color: #95a5a6; 8 | } 9 | 10 | ul.ins-imgs { 11 | list-style-type: none; 12 | padding: 0; 13 | } 14 | 15 | li.ins-imgs-li { 16 | text-align: center; 17 | padding-top: 20px; 18 | padding-bottom: 20px; 19 | } 20 | 21 | div.ins-imgs-img img { 22 | outline: none; 23 | -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.5); 24 | -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.5); 25 | box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.5); 26 | } 27 | 28 | div.ins-imgs-img.zoom img { 29 | max-width: 100% !important; 30 | } 31 | 32 | div.ins-imgs-label { 33 | padding-top: 5px; 34 | } 35 | 36 | div.ins-imgs-img a:focus { 37 | outline: none; 38 | } 39 | 40 | footer { 41 | padding: 25px 0; 42 | text-align: center; 43 | } 44 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 LTHR.io 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GitHub Gallery 2 | 3 | [Demo](http://lthr.io/github-gallery/) | [Repository](https://github.com/lthr/github-gallery) 4 | 5 | GitHub Gallery is a simple photo gallery, which simply displays all the images it finds in the /images/ folder. It's powered by the Jekyll blog engine, and will work on any such powered pages, for example [GitHub Pages](https://pages.github.com/). 6 | 7 | Images will display up to a max width of 900 pixels. Images larger than 900 pixels will show their full size if you click it. 8 | 9 | You can link to a specific image as they're link anchored. Just click on the specific image and copy the browser URL. 10 | 11 | ## Setting up on GitHub 12 | There are two simple steps: 13 | 14 | * [Sign up for a GitHub account](https://github.com/join?source=header-home). It's free. 15 | * [Fork](https://help.github.com/articles/fork-a-repo/) the [GitHub Gallery repository](https://github.com/lthr/github-gallery). 16 | * [Add an image](https://help.github.com/articles/adding-a-file-to-a-repository/) into the /images/ folder. 17 | 18 | Your GitHub Gallery should shortly after be available at [http://YOUR_USERNAME.github.io/github-gallery/](http://YOUR_USERNAME.github.io/github-gallery/). 19 | 20 | You can ofcourse [delete the old images](https://help.github.com/articles/deleting-files/), as well as [renaming your repository](https://help.github.com/articles/renaming-a-repository/) for a prettier url. 21 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | title: GitHub Gallery 3 | image_folder: /images/ 4 | max_width: 900px 5 | sort_by: modified_time # modified_time or path (notice: path is case sensitive) 6 | date_format: "%A, %B %-d, %Y" 7 | --- 8 | 9 | 10 | 11 | 12 | 13 | 14 | {{ page.title }} 15 | 16 | 17 | 18 | 19 | 20 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | --------------------------------------------------------------------------------