|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: a post with image galleries |
| 4 | +date: 2024-12-04 01:59:00 |
| 5 | +description: this is what included image galleries could look like |
| 6 | +tags: formatting images |
| 7 | +categories: sample-posts |
| 8 | +thumbnail: assets/img/9.jpg |
| 9 | +images: |
| 10 | + lightbox2: true |
| 11 | + photoswipe: true |
| 12 | + spotlight: true |
| 13 | + venobox: true |
| 14 | +--- |
| 15 | + |
| 16 | +The images in this post are all zoomable, arranged into different mini-galleries using different libraries. |
| 17 | + |
| 18 | +## [Lightbox2](https://lokeshdhakar.com/projects/lightbox2/) |
| 19 | + |
| 20 | +<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-2500.jpg" data-lightbox="roadtrip"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-200.jpg" /></a> |
| 21 | +<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-2500.jpg" data-lightbox="roadtrip"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-200.jpg" /></a> |
| 22 | +<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-2500.jpg" data-lightbox="roadtrip"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg" /></a> |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## [PhotoSwipe](https://photoswipe.com/) |
| 27 | + |
| 28 | +<div class="pswp-gallery pswp-gallery--single-column" id="gallery--getting-started"> |
| 29 | + <a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-2500.jpg" |
| 30 | + data-pswp-width="1669" |
| 31 | + data-pswp-height="2500" |
| 32 | + target="_blank"> |
| 33 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-200.jpg" alt="" /> |
| 34 | + </a> |
| 35 | + <!-- cropped thumbnail: --> |
| 36 | + <a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/7/img-2500.jpg" |
| 37 | + data-pswp-width="1875" |
| 38 | + data-pswp-height="2500" |
| 39 | + data-cropped="true" |
| 40 | + target="_blank"> |
| 41 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/7/img-200.jpg" alt="" /> |
| 42 | + </a> |
| 43 | + <!-- data-pswp-src with custom URL in href --> |
| 44 | + <a href="https://unsplash.com" |
| 45 | + data-pswp-src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-2500.jpg" |
| 46 | + data-pswp-width="2500" |
| 47 | + data-pswp-height="1666" |
| 48 | + target="_blank"> |
| 49 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg" alt="" /> |
| 50 | + </a> |
| 51 | + <!-- wrapped with any element: --> |
| 52 | + <div> |
| 53 | + <a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-2500.jpg" |
| 54 | + data-pswp-width="2500" |
| 55 | + data-pswp-height="1667" |
| 56 | + target="_blank"> |
| 57 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-200.jpg" alt="" /> |
| 58 | + </a> |
| 59 | + </div> |
| 60 | +</div> |
| 61 | + |
| 62 | +--- |
| 63 | + |
| 64 | +## [Spotlight JS](https://nextapps-de.github.io/spotlight/) |
| 65 | + |
| 66 | +<!-- Group 1 --> |
| 67 | +<div class="spotlight-group"> |
| 68 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-2500.jpg"> |
| 69 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-200.jpg" /> |
| 70 | + </a> |
| 71 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-2500.jpg"> |
| 72 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-200.jpg" /> |
| 73 | + </a> |
| 74 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-2500.jpg"> |
| 75 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg" /> |
| 76 | + </a> |
| 77 | +</div> |
| 78 | +<!-- Group 2 --> |
| 79 | +<div class="spotlight-group"> |
| 80 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/4/img-2500.jpg"> |
| 81 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/4/img-200.jpg" /> |
| 82 | + </a> |
| 83 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/5/img-2500.jpg"> |
| 84 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/5/img-200.jpg" /> |
| 85 | + </a> |
| 86 | + <a class="spotlight" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-2500.jpg"> |
| 87 | + <img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-200.jpg" /> |
| 88 | + </a> |
| 89 | +</div> |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +## [Venobox](https://veno.es/venobox/) |
| 94 | + |
| 95 | +<a class="venobox" data-gall="myGallery" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-2500.jpg"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/1/img-200.jpg" /></a> |
| 96 | +<a class="venobox" data-gall="myGallery" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-2500.jpg"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-200.jpg" /></a> |
| 97 | +<a class="venobox" data-gall="myGallery" href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-2500.jpg"><img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg" /></a> |
0 commit comments