jekyll-cloudinary 1.2.11 → 1.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/cloudinary.rb +2 -2
- data/lib/jekyll/cloudinary/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b246c491902619afcdf63c1326ea254c2413a18e
|
4
|
+
data.tar.gz: 97e3c59828db17e0ede0d2a5a69f4609a31a8e51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66c8f8dcefa2ed74d1751e7fa53d29d3875a072bcf49f3d3474c33dd0847ee23d7ef98514f53f2e47e68884262a6c7366da402f36aaac8b6b67bbe3033d78ec0
|
7
|
+
data.tar.gz: 5f2d7cec68b5b7807bc0e77b7d4541223038da329d7793e0ecffeefa2048d0799186cf668d442f0eb559b17b43dcb1e06d852b3dc102cd3afc8b6bbca24387b3
|
data/lib/jekyll/cloudinary.rb
CHANGED
@@ -63,11 +63,11 @@ module Jekyll
|
|
63
63
|
image = Magick::Image::read(image_path).first
|
64
64
|
natural_width = image.columns
|
65
65
|
natural_height = image.rows
|
66
|
-
width_height =
|
66
|
+
width_height = "width=\"#{natural_width}\" height=\"#{natural_height}\""
|
67
67
|
else
|
68
68
|
natural_width = 100000
|
69
69
|
natural_height = 100000
|
70
|
-
width_height =
|
70
|
+
width_height = ""
|
71
71
|
Jekyll.logger.warn('[Cloudinary]', "Couldn't find this image to check its width: #{image_path}")
|
72
72
|
end
|
73
73
|
|