Preview is adding width 0 height 0 to the image with media module

Created on 21 September 2022, about 2 years ago
Updated 17 May 2024, 6 months ago

Problem/Motivation

Preview is not showing image when edit focal point for second time

First time

Edit

Second time

Steps to reproduce

  1. Upload an image
  2. Position focal point where you need it
  3. Save
  4. Edit the image in media
  5. Image is not showing because width:0 and height:0 are added to img element so you cant edit the focal point

Proposed resolution

Add a style that shows image with initial instead of 0,0

Remaining tasks

Create a patch to fix this

πŸ› Bug report
Status

Needs review

Version

1.5

Component

Media Integration

Created by

πŸ‡¦πŸ‡·Argentina tpzurdo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024