This article describes a known Adobe Commerce on-premises 2.4.2 issue where the product image is not uploaded to the product page. This issue is scheduled to be addressed in a future version after version 2.4.3. There is not a solution available at this time, but as a workaround, you can disable Nginx to resize images.
The product image is saved in the s3
bucket, but it is not synced back to the pub/media
directory. This issue only happens when using both:
s3
as media storagePrerequisites:
Adobe Commerce installed with Nginx.
Steps to reproduce:
s3
as media storage.nginx.conf.sample
configuration file provided in the Adobe Commerce installation directory and an Nginx virtual host. See Configure Nginx in our developer documentation.nginx.conf.sample
similar to this:load_module /etc/nginx/modules/ngx_http_image_filter_module.so;
location /media/ {
location ~* ^/media/catalog/.* {
set $width "-";
set $height "-";
if ($arg_width != '') {
set $width $arg_width;
}
if ($arg_height != '') {
set $height $arg_height;
}
image_filter resize $width $height;
image_filter_jpeg_quality 90;
}
Expected results:
The product image is uploaded to the product page.
Actual results:
The product image is not uploaded to the product page.
Disable Nginx to resize images.