A Charming Birthday Getaway: pratik.micro.blog
A Charming Birthday Getaway: pratik.micro.blog
@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.
@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!
@jsonbecker Thanks for sharing your thinking!
@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.
@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.