diff options
author | Przemysław Kołodziejczyk <eshlox@vertolabs.com> | 2018-05-06 20:55:47 +0300 |
---|---|---|
committer | Przemysław Kołodziejczyk <eshlox@vertolabs.com> | 2018-05-06 20:55:47 +0300 |
commit | d18ca94c320db2a4e9ebc0bb96202b8a5310a77e (patch) | |
tree | 67088cac6b9a071a2e9d6c5aa610828a58d36127 | |
parent | e528016466d9ec24496f55498c4cf189129f3f42 (diff) |
Add resize=false example
-rw-r--r-- | exampleSite/content/posts/2017/images.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/content/posts/2017/images.md b/exampleSite/content/posts/2017/images.md index 4794586..003d987 100644 --- a/exampleSite/content/posts/2017/images.md +++ b/exampleSite/content/posts/2017/images.md @@ -65,3 +65,13 @@ Example code: Result: {{< image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" full="true" >}} + +Add `resize=false` parameter to display original image without resizing (useful for animated GIFs). + +```html +{{</* image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" resize="false" */>}} +``` + +Result: + +{{< image src="media/image-1.jpg" title="Photo by Ales Krivec on Unsplash" resize="false" >}} |