starshot-prototype icon indicating copy to clipboard operation
starshot-prototype copied to clipboard

Consider adding `easy_responsive_images`

Open syzygy333 opened this issue 9 months ago • 3 comments

Forgive me if this isn't the right place for this.

I can't think of a site that I haven't used easy_responsive_images on in years.

syzygy333 avatar May 13 '24 20:05 syzygy333

The base config could provide some sensible defaults like 16:9 4:3 3:2 1:1

syzygy333 avatar May 13 '24 21:05 syzygy333

This is absolutely the right place to discuss including this module in Starshot. :)

I certainly trust the author of the module (a fantastic media system co-maintainer), but I'd ideally like to see if anyone else is using this, or just collect a few more opinions about adding it. From reading the project page, I'm a bit concerned that this will generate a slew of extra image styles, which seems a bit pointless for Starshot since we can ship whatever config we want. But I'm certainly open to the possibility.

phenaproxima avatar May 13 '24 22:05 phenaproxima

If the module would have some sort of undo functionality it would be maybe handy, otherwise it is a pain to remove all generated styles by hand if someone mistyped something or needs to switch breakpoints. In general I would also suggest to have sensible defaults preconfigured for responsive images out of the box - but again they should be removable also very easy - I am using TailwindCSS in all projects so I got the frameworks breakpoints from sm to 2xl for responsive images. If the defaults wouldn't be compatible I would need a quick way to change that. Maybe different recipes for different frontend frameworks as an addon to quickly swap existing defaults?

roromedia avatar May 18 '24 17:05 roromedia