Skip to content

Wrong image width and height on upload #1602

@Toutouwai

Description

@Toutouwai

Short description of the issue

Image that demonstrates the problem:
pouring-water

When this image is uploaded to a PW images field the width and height are wrongly transposed.

If an image variation is created at the same dimensions as the original then the width and height are calculated correctly.

2022-07-29_175947

I'm guessing this has something to do with the auto-rotation of uploaded images, like PW is calculating the width and height before the uploaded image has been auto-rotated?

Setup/Environment

  • ProcessWire version: 3.0.203

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions