Not working with media image

Created on 17 August 2024, 5 months ago

Problem/Motivation

For some reason, cropping doesn't work for me with Media, the image always comes out as the original, but when I edit it, it does show me the cropping selection, but it still doesn't crop it at all, or where can I change that output so I can see the cropped image?

My version is:
- Drupal 10.3.2
- NGINX
- PHP 8.1

πŸ› Bug report
Status

Active

Version

2.4

Component

Code

Created by

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

Comments & Activities

  • Issue created by @Nelo_Drup
  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    I think I am also seeing this issue, and I am very confused about how to go about troubleshooting. Any advice?

  • πŸ‡«πŸ‡·France dqd London | N.Y.C | Paris | Hamburg | Berlin

    Did you used the module the first time? If not - Can you both please check out a previous commit of the 2 dev branches like .. let's say 2 weeks ago or sooner? We had multiple commits to be done in the last week to overcome long holding issues and then it would be obvious where to look at. Please provide both your server, browser and php version too. Browser can be interesting because of javascript involved. Oh by the way: do you have JS error output in the browser console?

  • πŸ‡«πŸ‡·France DrDam

    When using media, you need some configurations :

    1. in the "host content type" (node)
      • in the form mode : media library as widget
      • in the view mode : display media with a specific render mode "foo"
    2. in the "media image"
      • in the form mode : the image widget crop widget
      • in the view mode "foo" : render image with a specific image style using a crop
Production build 0.71.5 2024