- πΊπΈUnited States mglaman WI, USA
oof! Sorry about that, working on a fix and a patch release.
- πΊπΈUnited States mglaman WI, USA
Here's a patch to get started. This should have been caught by tests, but this means we have no test coverage of the media edit form.
- Status changed to Needs review
almost 2 years ago 4:09pm 25 January 2023 - πΊπΈUnited States davidhernandez USA
@mglaman Thanks. I'll test this. Do you think this will resolve any issues with the link generation? That also seems to have an issue. The links generated are not using any crop functions from the image styles.
- πΊπΈUnited States mglaman WI, USA
Do you think this will resolve any issues with the link generation
Do you mean integration links inside of the DAM? Which issues are you experiencing (sounds like it's worth a new issue.)
The links generated are not using any crop functions from the image styles.
Again, depends what we mean by links here. Feel free to also ping me in Drupal Slack
- πΊπΈUnited States davidhernandez USA
@mglaman I was partly mistaken. It looks like crop works and resize works, but the scale and crop image effect doesn't work. Is that supposed to be supported? I'm using basic image styles, view modes, in Drupal on an image field to display the image. So the urls generated in Drupal to retrieve the Widen asset.
Example:
<img src="https://abcdef.widen.net/content/484d0b1f-df73-4a3d-9ac4-88d7a65e5303/web/image.png?h=200&crop=yes&k=c&w=200&itok=K6aVmGmT" width="200" height="200" alt="CHIRP_wide.png" loading="lazy">
I'm playing with this field trying different things. It seems rotate works as long as it is 90deg, and I think desaturate worked, but I didn't realize it was specifically the scale and crop I was having issue with.
I can open a separate issue if this sounds broken.
- πΊπΈUnited States davidhernandez USA
Following up specifically about the form error. This patch resolves it. I'm seeing some other errors in the log that may be other issues. I'll try to verify and open other issues.
- πΊπΈUnited States mglaman WI, USA
@davidhernandez can you make another issue? We should have fixed this. Can you try on -dev as well (if you haven't) as I think it was fixed with https://git.drupalcode.org/project/acquia_dam/-/commit/fbf1ee7a0c5ad8ff8....
I'll be making a patch release for this issue which will also release that fix.
- πΊπΈUnited States davidhernandez USA
I'm using composer and this should be the latest dev release. It matches the commit id. I'll make a new issue.
"name": "drupal/acquia_dam", "version": "dev-1.0.x", "source": { "type": "git", "url": "https://git.drupalcode.org/project/acquia_dam.git", "reference": "edca371760b6f7ed146bfee8e76a3e13aefb9fb2"
- Issue was unassigned.
- Status changed to Fixed
almost 2 years ago 5:04pm 26 January 2023 - πΊπΈUnited States mglaman WI, USA
Thanks! That sounds like a different bug. A lot of the scaling image style was worked on, but really needs end-user testing to cover edge cases.
This was fixed in https://git.drupalcode.org/project/acquia_dam/-/commit/6f7e6622349ef5ec0..., preparing a new patch release.
- πΊπΈUnited States mglaman WI, USA
FYI https://www.drupal.org/project/acquia_dam/releases/1.0.4 β is out with this fix.
Automatically closed - issue fixed for 2 weeks with no activity.