Replies: 5 comments
-
I’ve been working on that for a bit. I made a mod that kind of does it - https://github.com/JorjaFox/mod-bs5-lightbox - but I’ve started to run into a lot of quirks since the image partial doesn’t actually resize the smaller image (so you load the full size once on view and once on click open). I have an in progress fix I’ve been messing with all week (you can see the new shortcode here - https://github.com/JorjaFox/website/blob/design/recap-image/layouts/shortcodes/bs5-lightbox.html ) but it’s become very endemic to how I want to save images. I’m particular and want my images to be stored in the specific folders based on where I’m pulling the, down from, and that wouldn’t be the same for most people. |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing your example and experience @Ipstenu! It's definitely something I'd like to add in a future release. Ideally, Hinode would include a gallery component consisting of a collection of images. Each image would be rendered as a thumbnail, and when clicked, open in full screen with navigation support. I'd imagine you'd set a base folder and specify if the images should be loaded recursively. I'll submit a new future request to the issue tracker. I can't commit to a timeline yet, but feel free to share your thoughts there. See #1234. |
Beta Was this translation helpful? Give feedback.
-
Had the same idea. Current test: https://www.w3schools.com/howto/howto_css_modal_images.asp hugo add-on -> adjust for webp and other format |
Beta Was this translation helpful? Give feedback.
-
It is something I will need to integrate into my site as well. In the past, I was able to use drop-in shortcode, such as hugo-gallery-shortcode to do the trick. Admittedly, this solution is not optimal, and may not work. |
Beta Was this translation helpful? Give feedback.
-
This is my current implantation for thumbnail: TODO - adjust the css / js to use it like this. Not exactly what I want but maybe works for you? It was easier for me to create a new js instead of customize photoswipe. |
Beta Was this translation helpful? Give feedback.
-
Hi guys!
Is there any way to make the pictures in the post "clickable" and see them in a bigger size?
For example, I have this blog post which has tons of screenshots, but unfortunatelly my readers need to open the images in another tab to see them in a good size. I have read the whole documentation, but so far I havent found any answer.
I really appreciate any help. 🙏
Thanks,
Tiago
Beta Was this translation helpful? Give feedback.
All reactions