Update gallery sample post with Magnific Popup captions
This commit is contained in:
parent
3680760b40
commit
00074c8fab
@ -10,21 +10,27 @@ gallery:
|
|||||||
- url: unsplash-gallery-image-1.jpg
|
- url: unsplash-gallery-image-1.jpg
|
||||||
image_path: unsplash-gallery-image-1-th.jpg
|
image_path: unsplash-gallery-image-1-th.jpg
|
||||||
alt: "placeholder image 1"
|
alt: "placeholder image 1"
|
||||||
|
title: "Image 1 title caption"
|
||||||
- url: unsplash-gallery-image-2.jpg
|
- url: unsplash-gallery-image-2.jpg
|
||||||
image_path: unsplash-gallery-image-2-th.jpg
|
image_path: unsplash-gallery-image-2-th.jpg
|
||||||
alt: "placeholder image 2"
|
alt: "placeholder image 2"
|
||||||
|
title: "Image 2 title caption"
|
||||||
- url: unsplash-gallery-image-3.jpg
|
- url: unsplash-gallery-image-3.jpg
|
||||||
image_path: unsplash-gallery-image-3-th.jpg
|
image_path: unsplash-gallery-image-3-th.jpg
|
||||||
alt: "placeholder image 3"
|
alt: "placeholder image 3"
|
||||||
|
title: "Image 3 title caption"
|
||||||
- url: unsplash-gallery-image-1.jpg
|
- url: unsplash-gallery-image-1.jpg
|
||||||
image_path: unsplash-gallery-image-1-th.jpg
|
image_path: unsplash-gallery-image-1-th.jpg
|
||||||
alt: "placeholder image 1"
|
alt: "placeholder image 4"
|
||||||
|
title: "Image 4 title caption"
|
||||||
- url: unsplash-gallery-image-2.jpg
|
- url: unsplash-gallery-image-2.jpg
|
||||||
image_path: unsplash-gallery-image-2-th.jpg
|
image_path: unsplash-gallery-image-2-th.jpg
|
||||||
alt: "placeholder image 2"
|
alt: "placeholder image 5"
|
||||||
|
title: "Image 5 title caption"
|
||||||
- url: unsplash-gallery-image-3.jpg
|
- url: unsplash-gallery-image-3.jpg
|
||||||
image_path: unsplash-gallery-image-3-th.jpg
|
image_path: unsplash-gallery-image-3-th.jpg
|
||||||
alt: "placeholder image 3"
|
alt: "placeholder image 6"
|
||||||
|
title: "Image 6 title caption"
|
||||||
gallery2:
|
gallery2:
|
||||||
- url: https://flic.kr/p/8a6Ven
|
- url: https://flic.kr/p/8a6Ven
|
||||||
image_path: https://farm2.staticflickr.com/1272/4697500467_8294dac099_q.jpg
|
image_path: https://farm2.staticflickr.com/1272/4697500467_8294dac099_q.jpg
|
||||||
@ -51,15 +57,19 @@ gallery:
|
|||||||
- url: unsplash-gallery-image-1.jpg
|
- url: unsplash-gallery-image-1.jpg
|
||||||
image_path: unsplash-gallery-image-1-th.jpg
|
image_path: unsplash-gallery-image-1-th.jpg
|
||||||
alt: "placeholder image 1"
|
alt: "placeholder image 1"
|
||||||
|
title: "Image 1 title caption"
|
||||||
- url: unsplash-gallery-image-2.jpg
|
- url: unsplash-gallery-image-2.jpg
|
||||||
image_path: unsplash-gallery-image-2-th.jpg
|
image_path: unsplash-gallery-image-2-th.jpg
|
||||||
alt: "placeholder image 2"
|
alt: "placeholder image 2"
|
||||||
|
title: "Image 2 title caption"
|
||||||
- url: unsplash-gallery-image-3.jpg
|
- url: unsplash-gallery-image-3.jpg
|
||||||
image_path: unsplash-gallery-image-3-th.jpg
|
image_path: unsplash-gallery-image-3-th.jpg
|
||||||
alt: "placeholder image 3"
|
alt: "placeholder image 3"
|
||||||
|
title: "Image 3 title caption"
|
||||||
- url: unsplash-gallery-image-4.jpg
|
- url: unsplash-gallery-image-4.jpg
|
||||||
image_path: unsplash-gallery-image-4-th.jpg
|
image_path: unsplash-gallery-image-4-th.jpg
|
||||||
alt: "placeholder image 4"
|
alt: "placeholder image 4"
|
||||||
|
title: "Image 4 title caption"
|
||||||
```
|
```
|
||||||
|
|
||||||
And then drop-in the gallery include --- gallery `caption` is optional.
|
And then drop-in the gallery include --- gallery `caption` is optional.
|
||||||
|
Loading…
Reference in New Issue
Block a user