Skip to content

Adding/updating image using API will not create thumbnail for admin products grid #26825

Closed
@Zyles

Description

@Zyles

Updating or adding a new image to a product will not create a thumbnail in the admin products grid. The admin products grid will have a placeholder.

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

  1. Create product
  2. Upload image to product using the rest API
  3. Visit the products grid in backend

Expected result (*)

A thumbnail for the product should be rendered in the products grid.

Actual result (*)

A placeholder for the product is rendered in the products grid.

Additional information

When the product image is added from Admin, the Image Roles are displayed. Base, Small, Thumbnail, Swatch
base_small

image_detail

If the product image is added using API, there are no image roles.
image_details_no

And as a result - no thumbnails
no_thumbnails

Metadata

Metadata

Assignees

Labels

Component: ApiUse with concrete module component label E.g. "Component: Api" + "Catalog"Component: ImageFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions