You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open the media gallery. I.e. from the Catalog -> Category -> Content fieldset -> Select image from gallery
Click "Upload image" button and upload an image containing the title, description and keywords in the metadata
Expected result (*)
The images information should be saved to the media_gallery_asset table. The description, title fields should be populated from the image metadata. the keywords should be saved for the image
Testing
Should be checked for the next scenarios:
Uploading the image to the enhanced media gallery
Uploading the image to the old media gallery
Uploading the image to the category
Uploading the image to the Page builder
Runing bin/magento media-gallery:sync for images added manually to pub/media directory
Technical Details
Use the \Magento\MediaGalleryMetadataApi\Api\ExtractMetadataInterface to retrieve the metadata
The changes should be applied to \Magento\MediaGallerySynchronization\Model\CreateAssetFromFile::execute method
The text was updated successfully, but these errors were encountered:
sivaschenko
changed the title
Add hash to asset on uploading the image to the old media gallery
Add description to the asset on uploading the image to magento
Jun 18, 2020
sivaschenko
changed the title
Add description to the asset on uploading the image to magento
Polpulate asset metadata on uploading the image to magento
Jun 18, 2020
Story: #1183
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
The images information should be saved to the
media_gallery_asset
table. Thedescription
,title
fields should be populated from the image metadata. the keywords should be saved for the imageTesting
Should be checked for the next scenarios:
bin/magento media-gallery:sync
for images added manually to pub/media directoryTechnical Details
Use the
\Magento\MediaGalleryMetadataApi\Api\ExtractMetadataInterface
to retrieve the metadataThe changes should be applied to
\Magento\MediaGallerySynchronization\Model\CreateAssetFromFile::execute
methodThe text was updated successfully, but these errors were encountered: