#dev 2023-08-30

2023-08-30 UTC
lockywolf_ joined the channel
#
[tantek]
if there are folks that include icons from other sites on theirs, e.g. in facepiles, could you add your example/experience here: https://indieweb.org/crop ?
[snarfed] joined the channel
#
[snarfed]
cc GWG ^, the WordPress plugin does
#
[tantek]
Yes that would be good to add to a Software section
#
GWG
We only do it in CSS though
#
[tantek]
GWG the method doesn't matter as much as the effect. User experience is more relevant than plumbing details
#
GWG
Yes.
gerben, jjuran and [jacky] joined the channel
#
[jacky]
https://github.com/danog/php-tokio 👀 (wouldn't seriously use this for anything but it does make me curious lol)
#
Loqi
[preview] [danog] php-tokio: Use any async Rust library from PHP!
angelo, gxt, btrem and bterry1 joined the channel
#
v​onexplaino
[tantek]: Do they have to be cropped, or is any resizing etc. acceptable?
#
[KevinMarks]
object-fit: cover is the usual answer, but cropping is tricky. You can do a "keep the detail" type crop, but that has pitfalls too. https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
#
[KevinMarks]
another answer is a more flexible layout than a fixed-size box but that can be very odd for panoramas or very tall items
#
[KevinMarks]
phanpy.social pans over the image if it is too big for the box
[marksuth], geoffo, AramZS and btrem joined the channel
#
[tantek]
crop << Brainstorming: one cropping technique is to use CSS, e.g. object-fit:cover https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
#
Loqi
ok, I added "Brainstorming: one cropping technique is to use CSS, e.g. object-fit:cover https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit" to the "See Also" section of /crop https://indieweb.org/wiki/index.php?diff=89149&oldid=89148
jonnybarnes, Schnuppelduck, btrem, bret, [schmarty], AramZS_, IWSlackGateway, [davidmead] and [tantek] joined the channel