jekyll-photo-gallery 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -14
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a06324d1cb25e7c0ec63216dd15f84521b9cdd0b
4
- data.tar.gz: 2d3b15bb6fef0782868d9c640d6d1776ca7f90b0
3
+ metadata.gz: d24e3d9cbcc16963d9b01bffb704fee7af6ea0f3
4
+ data.tar.gz: 9eb0f3dfcd96092862ed83b5795b56ecee9821e6
5
5
  SHA512:
6
- metadata.gz: 23aec2827805b277185287a407ac52ad38ad48988ddf13146d8aef9511c395752268a2ea0ee7fe1ab5940cfd4aa2ad929c278b99530ab4733ad6744d250a7829
7
- data.tar.gz: 12b173ec8720a125e85cdbf805b713de10d578f73f39862655a15ca8a3e83506bff2b532e89f726578198b6e6ef58fb1b7385be1a4d69d280a6c4e842fb58277
6
+ metadata.gz: 240b54778506383d0a7f43d7956c3b6eaf7502438cc3157706ecab4d5a34695bed5c289fde02d34c185333efbfce6025e4ba3811384b8e056fd70ee93d4c7a9a
7
+ data.tar.gz: d884dbe72573538d704d36c8912dc212589ba5bf5c3ad8adb42b41f1af1ad9e42b8ec82f3a79b1b2e66f5ff64b533bc55a25521c41130dcb01fef4d561ed9cae
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # jekyll-photo-gallery
2
2
  Yet another jekyll photo gallery.
3
3
 
4
- This [Jekyll plugin](http://jekyllrb.com/docs/plugins/) generates galleries from directories containing images recursively. Square thumbnails are created using [rmagick](http://rmagick.rubyforge.org/).
4
+ This [Jekyll plugin](http://jekyllrb.com/docs/plugins/) generates galleries from directories containing images recursively. Thumbnails are created using [rmagick](http://rmagick.rubyforge.org/).
5
5
 
6
6
  ## Usage
7
7
 
@@ -9,23 +9,14 @@ This [Jekyll plugin](http://jekyllrb.com/docs/plugins/) generates galleries from
9
9
 
10
10
  2. Add `jekyll-gallery-generator` to the gems list in your `_config.yml`:
11
11
 
12
- ```
12
+ ```
13
13
  gems:
14
14
  - jekyll-photo-gallery
15
15
  ```
16
16
 
17
- 3. Configure the plugin in your `_config.yml`:
18
-
19
- ```
20
- photo_gallery:
21
- path: photos
22
- thumbnail_size: 256
23
- ```
24
-
25
- The thumbnails are generated as squares with the [resize_to_fill](https://rmagick.github.io/image3.html#resize_to_fill) method and saved in `_site` inside the mirrored folder structure of `path`.
26
-
27
- 4. The directory structure should be as follows
17
+ 3. Copy your images to your jekyll site. The directory structure should be as follows:
28
18
 
19
+ ```
29
20
  % tree
30
21
  .
31
22
  |- photos
@@ -34,7 +25,26 @@ The thumbnails are generated as squares with the [resize_to_fill](https://rmagic
34
25
  |- image1.jpg
35
26
  |- image2.jpg
36
27
  |- ...
28
+ |- 2016-12-31 New years eve
37
29
  |- 2015
38
30
  |- ...
31
+ ```
32
+
33
+ An infinite depth of recursion is supported. Folders are allowed to contain both images and folders. The original files are made available in the `_site` directory using symbolic links.
34
+
35
+
36
+ ## Configuration
37
+
38
+ Configure the plugin in your `_config.yml`:
39
+
40
+ ```
41
+ photo_gallery:
42
+ path: photos
43
+ thumbnail_size: 256
44
+ ```
45
+
46
+ The thumbnails are generated as squares with the [resize_to_fill](https://rmagick.github.io/image3.html#resize_to_fill) method and saved in `_site` inside the mirrored folder structure of `path`.
47
+
48
+ ## Templating
39
49
 
40
- An infinite depth of recursion is supported. Folders are allowed to contain both images and folders. The original files are made available in the `_site` directory using symbolic links.
50
+ All important html elements of the generated photo gallery have dedicated CSS classes which can be used for styling or incorporating a javascript photo slideshow script.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-photo-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Niggemann
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements:
99
- - imagemagick, >=v6.9 (needed by RMagick)
99
+ - imagemagic (needed by rmagick)
100
100
  rubyforge_project:
101
101
  rubygems_version: 2.5.1
102
102
  signing_key: