1. Summary
It would be nice, if would be possible to include to one gallery images that are in different parts of the HTML page.
That is, add some option so that the behavior of hes-gallery in the second example is the same as in the first example.
2. Examples
2.1. One gallery MCVE
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kira hes-gallery all in one gallery</title>
<script src="https://cdn.jsdelivr.net/npm/hes-gallery/dist/hes-gallery.min.js" defer></script>
</head>
<body>
<div class="hes-gallery">
<img alt="First image description" src="https://64.media.tumblr.com/b46755ce8132f94072dc11ff1bc521f2/tumblr_o9c27npEFz1st5lhmo1_1280.jpg">
<img alt="Second image description" src="https://64.media.tumblr.com/e448b56e7d05e08fc7d50fba6279162a/tumblr_o9c384UrKV1st5lhmo1_1280.jpg">
<img alt="Third image description" src="https://64.media.tumblr.com/6a3c1841255255d81f00adc0559ae3e1/tumblr_o9c2klYKxX1st5lhmo1_1280.jpg">
</div>
</body>
</html>
All 3 images included in one gallery.
2.2. 3 galleries MCVE
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Kira hes-gallery all in one gallery</title>
+ <title>Kira hes-gallery 3 different galleries</title>
<script src="https://cdn.jsdelivr.net/npm/hes-gallery/dist/hes-gallery.min.js" defer></script>
</head>
<body>
<div class="hes-gallery">
<img alt="First image description" src="https://64.media.tumblr.com/b46755ce8132f94072dc11ff1bc521f2/tumblr_o9c27npEFz1st5lhmo1_1280.jpg">
+ </div>
+ <p>Between the gallery images may be something</p>
+ <div class="hes-gallery">
<img alt="Second image description" src="https://64.media.tumblr.com/e448b56e7d05e08fc7d50fba6279162a/tumblr_o9c384UrKV1st5lhmo1_1280.jpg">
+ </div>
+ <p>It may or may not be related to gallery images</p>
+ <div class="hes-gallery">
<img alt="Third image description" src="https://64.media.tumblr.com/6a3c1841255255d81f00adc0559ae3e1/tumblr_o9c2klYKxX1st5lhmo1_1280.jpg">
</div>
</body>
</html>
hes-gallery creates 3 different galleries.
3. Argumentation
As far as I understand, that to be included in one gallery, images must be placed inside one tag <div class="hes-gallery">
.
But content creators, for various reasons, may want to put in one gallery not solely images that are nearby. For example, I want all screenshots on this page it would be possible to view in one gallery. But, unfortunately, I don’t understand how I can do it using hes-gallery 1.5.1. Related images, located in different places on the page, may be comfortable to watch in one gallery.
Thanks.