Skip to content

Populate media asset description when saving image from adobe stock #1495

@sivaschenko

Description

@sivaschenko

Story: #724

Preconditions (*)

  1. Install Magento 2.4-develop with ASI 2.0-develop
  2. Enable and Configure Adobe Stock Integration in the Stores -> Configuration -> System -> Adobe Stock Integration

Steps to reproduce (*)

  1. Login to Admin panel
  2. Open the media gallery. I.e. from the Catalog -> Category -> Content fieldset -> Select image from gallery
  3. Click "Search Adobe Stock" button
  4. Click on any image to open the image preview panel
  5. Click "License"/"Save Licensed" button
  6. Confirm the image name in the popup

Expected result (*)

The images information should be saved to the media_gallery_asset table. The description filed should be populated with the information provided from Adobe Stock

Technical Details

Use the \Magento\MediaGalleryMetadataApi\Api\ExtractMetadataInterface to retrieve the metadata

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions