A Charming Birthday Getaway: pratik.micro.blog
@pratik Incredible photos! That place looks so nice. Nice to see that glightbox plugs works with Tiny Theme so you can hone in on the details. And did you make those galleries with Gallery Creator shortcut?
@pratik bummer the house is being renovated - it’s an interesting tour. It’s much different than most Presidential homes, as it’s relatively modern so you feel a bit more connected (“Oh, I remember those, my grandmother loved them”) and such.
@jarrod Glad you liked them. And nope, I have @jsonbecker’s lightbox plugin installed and I use the ‘<div class=“img-gallery”>’ around the photos I want in a grid. The grid looks better with similar layout photos. If I manage to figure out how to lay them out in masonry I can mix landscape and portrait photos.
@pratik @jarrod I wouldn’t hold your breath until the CSS standards evolve. There’s very little support for masonry (except in Safari technical preview!). I haven’t personally liked any of the Javascript based answers for easy of use and good output on Micro.blog, though if someone found something that looked reasonable, I’d implement it.
@jsonbecker I don’t know the technical implementation behind the masonry view of @kottkrig‘s Photos page plugin, but I’ve been quite happy with its presentation. Here’s my photos page, for example, though I’m sure you’ve seen similar.
@jarrod the short answer is he uses Micro.blog’s image resize to force everything to a specific size and does a some clever math. I ended up removing image resizing from my plugin because I disagree with basically all the choices Micro.blog makes on image processing (which is more to say that the defaults on image processing libraries are bad and I don’t know how to fix them, personally).
That said, it also involves a fair bit of tinkering that I think would be hard to mix with my glightbox tinkering. If I were to make a masonry gallery plug in, it would probably have to be a totally separate plug-in that always assumes a gallery, combines the two, and rely on shortcodes, which is rough on portability out of Hugo and has gotten me/folks into trouble.
It’s kind of a different problem when you’re controlling most of a page and assuming a long list of photos versus letting folks drop a set mid blog post. It may just be beyond my imagination how to make it ergonomic.
I’m not in love with my CSS-grid approach, but I find it “good enough” while making it really easy to post and super portable to any other service. It’s very likely I will end up making a better version when I finish my site redesign, but also fairly likely I will not do that in a way that’s portable to other themes. We’ll see!
@pratik I felt relaxed reading that, so I assume that that is reflective of your time away. Happy Birthday to your wife.
@jarrod @pratik for what it’s worth, this would work, but requires users to set columns best I can tell, which I think is a bad experience. I might play with it though.
@jsonbecker @jarrod I recall you mentioning that. I like the simplicity of adding just one <div class=“img-gallery”> even if I have to specify where I want it. I’ve setup a keyboard replacement shortcut to add that class 😋
@crossingthethreshold Yup. We kept it deliberately relaxed and I made the reservations instead of my wife who usually does our travel planning. I dunno if it was relaxing for her or stressful to not want to do it 😋
@pratik Dang. I think my last time there was Dec 2017, so sounds like I snuck in before the closure. If you find yourself back there after it reopens, it’s a fun visit.
@rscottjones Expected to open next year. And yup, we’ll definitely drive down
@stupendousman Thanks and yup, we’ve had decent luck. A usually does more research. Also, being the day after the eclipse helped.