2021-09-25 21:13:52 +00:00
|
|
|
<script>
|
2021-09-26 16:19:51 +00:00
|
|
|
function expandDesktopImage(image) {
|
2021-09-25 21:13:52 +00:00
|
|
|
|
|
|
|
var linkText = document.getElementById("desktop-expanded-image-link");
|
|
|
|
var imgLink = document.getElementById("desktop-expanded-image-wrap-link");
|
|
|
|
|
|
|
|
var inlineImage = document.getElementById("desktop-expanded-image");
|
|
|
|
|
2021-10-05 14:59:07 +00:00
|
|
|
inlineImage.src = image.replace("200w_d.webp", "giphy.webp");
|
2021-09-25 21:13:52 +00:00
|
|
|
linkText.href = image;
|
|
|
|
imgLink.href=image;
|
|
|
|
|
|
|
|
linkText.textContent = 'View original';
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2021-07-21 01:12:26 +00:00
|
|
|
|
|
|
|
<div class="modal desktop-expanded-image-modal" id="expandImageModal" tabindex="-1" role="dialog" aria-labelledby="expandImageModalTitle" aria-hidden="true">
|
|
|
|
<div class="modal-dialog modal-xl modal-dialog-centered mx-auto" role="document" style="width: fit-content;">
|
|
|
|
<div class="modal-content bg-transparent shadow-none m-5 m-md-0">
|
|
|
|
|
|
|
|
<div class="modal-body text-center p-0">
|
|
|
|
<div class="d-inline-block position-relative">
|
2021-09-02 20:33:48 +00:00
|
|
|
<a href="" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-image-wrap-link">
|
2021-09-03 14:08:32 +00:00
|
|
|
<img loading="lazy" src="" class="img-fluid rounded" id="desktop-expanded-image" style="min-width: 250px;">
|
2021-07-21 01:12:26 +00:00
|
|
|
</a>
|
|
|
|
<div class="position-absolute d-flex justify-content-between align-items-center w-100 mt-1">
|
2021-09-02 20:33:48 +00:00
|
|
|
<a href="" rel="nofollow noopener noreferrer" target="_blank" class="text-gray-500 font-weight-bold text-left" id="desktop-expanded-image-link">View original</a>
|
2021-07-21 01:12:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|