• Hi everyone.

    I think i might just have found a bug in timber. Let me explain:

    I have a thumbnail size that is 2048x2048px. lets call it xlarge

    When I upload an image of 2000x4196px, WP correctly makes a xlarge thumbnail of 1000x2048px

    When I now crop this image to landscape format 2000x1000px, wordpress doesn’t generate a xlarge thumbnail since it’s below the 2048px threshold.

    I include the image in my twig file with

    {{ Image(image).src('xlarge') }}

    .. wordpress or timber automatically takes the old, uncropped xlarge thumbnail since for the cropped version, there is no xlarge thumbnail.

    is this a bug in timber or in wordpress? Should i open a github issue?

    thanks in advance

    • This topic was modified 1 year, 8 months ago by grimnebluna.
    • This topic was modified 1 year, 8 months ago by grimnebluna.
    • This topic was modified 1 year, 8 months ago by grimnebluna.
    • This topic was modified 1 year, 8 months ago by Jan Dembowski.
  • The topic ‘Image crop from Portrait to Landscape -> Timber uses old thumbnail size’ is closed to new replies.