Skip to content

[4.x]: Edit Image gives endless spinner; console shows error e.image.getHeight is not a function #13573

@proimage

Description

@proimage

What happened?

Description

When trying to edit an image via the Craft backend, the full-screen image editor UI shows up, and the spinner spins in the middle, but the image never loads in. From this point, clicking "Cancel" does nothing, either, and the tab needs to be reloaded.
image

AFAIK we don't have image loading issues anywhere else in the site, frontend or back.

The console shows this:
image

Steps to reproduce

  1. No idea.

Expected behavior

I'd expect the image to appear for editing in the editor.

Actual behavior

The image fails to load.

Craft CMS version

Craft Pro 4.4.17

PHP version

8.1.2

Operating system and version

Linux 6.2.0-1009-azure

Database type and version

MySQL 8.0.32

Image driver and version

Imagick 3.6.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

  • Azure Blob Storage 2.0.0
  • Batch Actions 1.3.0
  • Button Box dev-craft-4
  • Cloudflare 2.0.0
  • Colorit 4.0.0
  • Color Mixer 3.0.0
  • Cookies 4.0.0
  • CP Field Inspect 1.4.4
  • Field Manager 3.0.6
  • Freeform 4.1.6
  • Icon Picker 2.0.13
  • Inventory 3.1.0
  • LJ Range Slider 4.0.1
  • Navigation 2.0.18
  • Neo 3.7.9
  • oEmbed 2.3.0
  • Postmark 3.0.0
  • Redactor 3.0.4
  • Retour 4.1.12
  • SEOmatic 4.0.30
  • Sidebar Entry Types 2.0.1
  • Social Share 1.0.1
  • Sprig 2.6.2
  • Super Table 3.0.9
  • Twigpack 4.0.0-beta.4
  • Typed link field 2.1.5
  • Vizy 2.1.6
  • Wordsmith 4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions