Thread Starter
phil92
(@phil92)
Alright, will do it that way.
Thought i might be able to stick with that List Table Class.
Thank you bcworkz!!
Thread Starter
phil92
(@phil92)
Hello George,
thank you for your answer. 🙂
Indeed it does, but the aspect ratio has to be the same as the one from the original src-image, that’s what i found out looking for further information.
Given that, now that i cropped my image and changed the ratio this way, it won’t be included in the srcset automatically.
My workaround for this scenario now:
“Hardcode” those few sizes i have, because they’re still available in my image-object.
srcset="{{Image(image).src('slider-small')}} 400w, {{Image(image).src('slider-medium')}} 600w, {{Image(image).src('slider-large')}} 900w"
Really appreciate your will to help. 🙂