• Resolved dontbelievethehype

    (@dontbelievethehype)


    A few of my images are being distorted, due to the proportionally scaled height being calculated incorrectly.

    I’m unsure whether this is a WordPress, Imgix, crop tool, or Media Cloud issue.

    Have you seen this before?

    Images that are fine:

    • Native size: 3264?×?2448
    • Aspect ratio: 4:3
    • WordPress image size: 865 x 9999 (9999 = ‘auto’ = scale proportionally), crop = false
    • Imgix size: 865 x 649

    Images that are vertically squashed:

    • Native size: 3264?×?4352
    • Aspect ratio: 3:4
    • WordPress image size: 865 x 9999 (9999 = ‘auto’ = scale proportionally), crop = false
    • Imgix size: 865 x 649 (should be 865 x 1153)
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author interfacelab

    (@interfacelab)

    Do you have imgix examples you can share?

    @interfacelab The site is only on local dev, but I’ve documented the image issues here: https://github.com/dotherightthing/wpdtrt-gallery/issues/44#issuecomment-426986317

    Plugin Author interfacelab

    (@interfacelab)

    So I think the issue might be with Imgix because I’ve run into this too. Basically the image data is physically rotated but the EXIF contains the correct orientation.

    For example, most phone cameras actually do this. If you snap a portrait image, the data is actually stored landscape and the EXIF data is used to rotate it properly when displaying it.

    So, somewhere along the path someone is applying the correct transform, but using the wrong image dimensions (using the landscape dimensions when it should be using the portfolio dimensions).

    The only way to fix this, that I’ve found, is to re-export the image out of Photoshop. Photoshop will store the data in the correct orientation without having to use EXIF.

    @interfacelab Ok, thanks. Using Imgix is my way of avoiding the slow workflow (and high cost) of Photoshop. I’ll look around for a programmatic solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Distorted / squashed images’ is closed to new replies.