Closed Ideas

  • 1
    Completed

    Scaling to cover dimensions

    Sean Inglis · 5 · Last reply by Pedro Verruma

    Is there any way for rethumb to emulate the behaviour of CSS's "cover" attribute when resizing images? i.e. the scaled image is resized and / or cropped such that it covers the requested dimensions, as opposed to being resized so that it would fit entirely into the bounding box?

     

    https://davidwalsh.name/demo/background-size.html