Hi
for the function rw.resizeResource
in the hooks. Do you plan to have 2 parameters for the width AND the height? Could be contained when transforming.
Would be cool to autogenerate square thumbnails.
Hi
for the function rw.resizeResource
in the hooks. Do you plan to have 2 parameters for the width AND the height? Could be contained when transforming.
Would be cool to autogenerate square thumbnails.
Hey @Beblebroks
We don’t currently have plans for this as it’s better to crop using an image editor where you have better control. However, you can easily use css to present a rectangular image as a square thumbnail.
Is there a particular use case you have in mind?
Use case would just be to have them squared. And as I meant I would keep it simple. No options just a “contain” on what ever size you specify.
And it would mean you would have all correct sizes available. You would save as well a bit on bandwith if the images are always the correct size.
In general I agree with the sizing in an editor, but I am thinking about users who just throw in huge images. And then it would be handy for “DevPacks”
Yeah just some thoughts. From my side I know how to work around it.
Thanks for the feedback.
Yep ok, I’ll pop it on the list
Hi @tpbradley,
below settings would work to achieve what I wanted with a normal Image component. Won’t help with thumbnail size and DevPacks. But the look is the same that I try to achieve: