Skip to content

Commit 941ce2d

Browse files
authored
try out template PhotoSwipe code on weather_etc.md
1 parent 79c02a8 commit 941ce2d

1 file changed

Lines changed: 37 additions & 1 deletion

File tree

_pages/weather_etc.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,40 @@ nav_order: 4
1212

1313
[MRO Clear Sky Chart](http://www.cleardarksky.com/c/ManastOBWAkey.html)
1414

15-
WebCams: Use the [MRO Webcam Live View page](http://depts.washington.edu/mrouser/webcams/).
15+
WebCams: Use the [MRO Webcam Live View page](http://depts.washington.edu/mrouser/webcams/).
16+
17+
## [PhotoSwipe](https://photoswipe.com/)
18+
19+
<div class="pswp-gallery pswp-gallery--single-column" id="gallery--getting-started">
20+
<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-2500.jpg"
21+
data-pswp-width="1669"
22+
data-pswp-height="2500"
23+
target="_blank">
24+
<img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/2/img-200.jpg" alt="" />
25+
</a>
26+
<!-- cropped thumbnail: -->
27+
<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/7/img-2500.jpg"
28+
data-pswp-width="1875"
29+
data-pswp-height="2500"
30+
data-cropped="true"
31+
target="_blank">
32+
<img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/7/img-200.jpg" alt="" />
33+
</a>
34+
<!-- data-pswp-src with custom URL in href -->
35+
<a href="https://unsplash.com"
36+
data-pswp-src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-2500.jpg"
37+
data-pswp-width="2500"
38+
data-pswp-height="1666"
39+
target="_blank">
40+
<img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg" alt="" />
41+
</a>
42+
<!-- wrapped with any element: -->
43+
<div>
44+
<a href="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-2500.jpg"
45+
data-pswp-width="2500"
46+
data-pswp-height="1667"
47+
target="_blank">
48+
<img src="https://cdn.photoswipe.com/photoswipe-demo-images/photos/6/img-200.jpg" alt="" />
49+
</a>
50+
</div>
51+
</div>

0 commit comments

Comments
 (0)