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.
@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.
@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.
@stupendousman Thanks and yup, weâve had decent luck. A usually does more research. Also, being the day after the eclipse helped.