community-features icon indicating copy to clipboard operation
community-features copied to clipboard

Using existing images while using a remote storage (S3)

Open torhoehn opened this issue 3 years ago • 1 comments

With the release of Magento 2.4.2 remote storages where introduced.

Current state for adding a product image

  • Image will be uploaded in admin UI or passed as base64 encoded image via API.
  • Image will be saved on configured remote storage.

Issue

  • External system (e. g. PIM) is already using a remote storage, so the image is already there and hasn't to be saved again.

Admin UI

  • No way to configure existing image from remote storage.

API

  • It's not possible to pass a file path only to the API, because the base64 image is required.

Feature proposal

Admin UI

API

  • Allow to pass file path only.
  • Check if file path exists on configured remote storage, otherwise base64 encoded image is required.

torhoehn avatar Mar 04 '21 19:03 torhoehn

Hi @torhoehn. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Mar 04 '21 19:03 m2-assistant[bot]