SLIDER Vertically centred and cropped with dynamic image

I have created a slider but just can’t get it to behave in the way I want it to. Created a diagram to explain what I am after: the image is always centred vertically and as the slider shrinks it crops the sides of the image. I’ve tried various things with mask, flex etc but just can’t get it to do exactly this. If anyone builds a solution would be very appreciative!
NOTE: it is not using a background image with all of the controls as it needs to reference dynamic content including image and text, otherwise it would be a much easier solution.

Correct way is still to use a background image. How is it currently set up? Do you have a share link?

I need the image to come from dynamic content.

Definitely use a background image with a fixed height.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.