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.