Questions tagged [product-images]

Denotes questions related to product images configuration, management and modifications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Product Images imported from Magento 2.3.5 to Magento 2.4.4 not showing correctly

We have copied the full folder of pub/media/catalog/product/ from a Magento instance 2.3.5-p1 to a new Magento instance 2.4.4 Products are all same on both instances. Pathes as well. Product images ...
user avatar
  • 63
0 votes
0 answers
6 views

How to add product image in the payload array of bulk product api via rabbitmq

I have been importing the products via rest API using RabbitMQ POST /magentoroot/rest/default/async/bulk/V1/products HTTP/1.1 Host: 127.0.0.1 Content-Type: application/json [ { "product&...
user avatar
  • 2,376
0 votes
0 answers
7 views

Magento 1.9.x Add configurable product image in new order email

There are many threads that I didn't want to resurrect but none solve the problem, they work for the simple product image but not for the configurable one. Of the many, this one is the most valuable: ...
user avatar
  • 1
0 votes
0 answers
8 views

Magento 2.3 - Thumbnail images not display while swatches selected for configurable product

Magento - 2.3.* Logged in customer Add configurable product to wishlist with swatches Go to wishlist page and click on the product The product page is open with selected swatches but thumbnail images ...
user avatar
0 votes
2 answers
41 views

how to delete media image after we delete product in magento2?

As image plays an important role in page load time,Need to delete image too after delete of product from admin panel in Magento 2
user avatar
0 votes
0 answers
13 views

Create custom product and product media module

I need help. How to create custom product and product media module in Magento 1.9 same as Mage Product Module? Same as Mage Product Module.
user avatar
0 votes
1 answer
19 views

Set programmatically image roles

I have that in my backoffice : and I need that: This solution does not work for me : if($key == 1){ $prod->addImageToMediaGallery($imgPath, array('image', 'small_image','thumbnail'), ...
user avatar
0 votes
0 answers
10 views

How to get 4th image of a Product so that I can assign it a particular Attribute (hovering)?

I have a requirement to assign the 4th image of a product a custom attribute 'hover_image', which will be shown when a user hovers over the product on PLP. I have done this using position value stored ...
user avatar
0 votes
1 answer
95 views

Magento 2.4.3-p1 i can't upload images, The file was not uploaded

After upgrading from Magento 2.3.7-p2 to Magento 2.4.3-P1 I can't upload images, in Magento admin, I get this error message: The file was not uploaded In var/log/exception.log file, i see this error: ...
user avatar
0 votes
0 answers
26 views

Magento 2: Product image label can not be removed for Product Listing page

I have added alt text for the product and it shows correctly on the product detail page as well as a listing page but then I want to remove alt text and want to show default alt text as per Magento ...
user avatar
0 votes
0 answers
17 views

Why does Magento 2 disperse product image files into multiple folders?

When uploading products into Magento 2, by default the system disperses images into folders based on the image name. file.jpg would end up in pub/media/catalog/product/f/i/file.jpg Can anyone explain ...
user avatar
  • 1
0 votes
0 answers
13 views

Magento 2 - Product returns default image label when there is no label

I'm trying to get Product label on PL Page(Product Listing Page) and want to add if there is no label added from backend label should contain "Product name - Brand" but as i have debugged ...
user avatar
0 votes
1 answer
51 views

Remove all Product images on one click of button in admin

I want to remove assigned images to specific product from admin on one click of button in magento2. Please provide specific way to implement.
user avatar
  • 561
0 votes
0 answers
16 views

Batch edit Alt Text

I want to update the Alt Text for each of my 14,000 products to match them with the Product Name. Is there a script I can use or an option I can select to edit them all at once? How long will it take?
user avatar
  • 1
0 votes
2 answers
59 views

Why is this code slow

We have a custom module to show images from sw3 on the product page, so the main image and any gallery images. The code works but going from a list page to the PDP is very slow and when I disable this ...
user avatar
0 votes
0 answers
10 views

Magento 2.4.3 - Layered Product Images

Is there any way to layer product images so I do not need to create/store numerous images for each product? For example, if I am selling coffee mugs in various colors and offer a multitude of designs, ...
user avatar
0 votes
0 answers
11 views

Magento2.4.3 Product create with images takes long time to save when ther is 3000+ products

I have a multistore website with 3000+ products, When I create a new product with images the product takes 17 - 35 seconds based on the number of images and their size. One image of size 54KB - 17 ...
user avatar
  • 434
0 votes
1 answer
59 views

How to assign same image for multiple products without creating different image directory

Heii new to Magento I have product with same images for multiple products but after i upload products via csv it creates seprate image directory for the products in var/cache/ Not a developer but it'...
user avatar
0 votes
2 answers
25 views

Magento2 Product image not getting displayed in search result & cart page

Magento2.4.2 Cloud. I uploaded a product image from Admin for 1 product, but the issue is that the image gets displayed on the product details page & mini-cart, but it is not getting displayed on ...
user avatar
  • 3,426
0 votes
0 answers
15 views

Product create with image takes long time to save Magento2.4.3

When I create a simple product with a single image it takes 17 seconds to save, I have changed the indexing to schedule and removed all extensions and themes. On debugging further I can see that the ...
user avatar
  • 434
0 votes
0 answers
9 views

Magento 2.4: Custom image role dropdown save in database

I created a custom image role drop down. I am trying to save its value into 'catalog_product_entity_media_gallery_value' table by using the observer event 'catalog_product_save_after': <?php ...
user avatar
0 votes
1 answer
96 views

use webp pictures for products

I use a magento2 webshop https://www.agoshop.at and I will use webp pictures for my products. I have convert a jpg to webp format and try to upload this webp picture to a product but the filetyp will ...
user avatar
  • 1
0 votes
0 answers
21 views

Renaming product images once uploaded

I am not a developer! Can we rename uploaded product and category images, or do you have to name them before uploading?
user avatar
0 votes
0 answers
17 views

Product images not found

Hi I know I ask this a hundred times but my patience is over and I just hope someone will help me I think it's a matter of removing "../" but where? http: //localhost/magento242/pub/media/...
user avatar
0 votes
0 answers
18 views

Problem with product attributes

I have Magento 2.4.3 store. I'm using claue 2 theme which has the functionality to swap images on hover. I need to attach a swap attribute (which is a product attribute) to every product's second ...
user avatar
1 vote
2 answers
82 views

Delete all images in pub/media/catalog/product not linked to any product

I am facing a website wich media directory size is 88 GB, and that is getting problems with the server and some processes. After analyzing the product date, I determined that in this directory exists ...
user avatar
0 votes
0 answers
13 views

Use In Stock simple product image instead of configurable product in magento 2.4

Is there any way through which a simple product image will be used by the configurable product? For example, I have one configurable product of which there is 4 simple product with different images ...
user avatar
0 votes
1 answer
38 views

Not able to upload product images in the admin in Magento 1.9?

We have Magento v1.9.0.1. when we try to upload product images in the admin we get a JSON-related error in the browser console. we checked the error logs but didn't find any specific cause of this ...
user avatar
0 votes
2 answers
60 views

Magento 2.3 images in catalog_product_entity_media_gallery_value vs catalog_product_entity_varchar

When we update images programmatically, we see correct images in admin, but not in shop frontend. Correct images are saved to catalog_product_entity_media_gallery. But magento shop frontend shows ...
user avatar
0 votes
0 answers
21 views

Image resize issue while uploading product images from admin

I have my staging environment setup using docker and the magento setup is in production mode. Now, when I am trying to upload product images from admin, it's not resizing the images. And I cannot ...
user avatar
0 votes
0 answers
19 views

Image not showing on product details page

Image showing on list page and on admin side but the image is not showing on product details page. I have run all the commands. Image load first then goes.
user avatar
0 votes
0 answers
51 views

PDf invoice Image issue

I am using Magento 2.3.7, and when I add the image to the invoice it's showing only the image path but does not display the image in the downloaded pdf invoice. Below is the code that I am using. file:...
user avatar
0 votes
0 answers
29 views

Magento 2 : Image cache issue when update bulk product programmatically

In my case, I have to update product images and other data programmatically from API in Magento. All data is updated after the indexer command but for new images, I have to flush the product image ...
user avatar
  • 1,028
0 votes
2 answers
170 views

Magento 2.4.3 Product Images comes with Incorrect Media URLs

I have recently installed a Magento 2.4.3 version and for some reason, the product images are not displaying correctly in the frontend. The source URL in Magento is displaying: https://4youshop.online/...
user avatar
  • 1
0 votes
2 answers
29 views

How do I switch product images from magento 1 to magento 2?

I'm trying to migrate the images from Magento 1 to Magento 2, and I detected that the images are inside the media folder in both Magento versions, but when I get the media/catalog/product directory ...
user avatar
  • 177
0 votes
1 answer
35 views

Category view images showing cropped

I have set up a Magento install (v2.4.3) with WeltPixel's Pearl theme. The category view product images in grid view are showing cropped instead of being resized with extra bars added to make up the ...
user avatar
  • 1
0 votes
0 answers
12 views

How to get only updated record for yotpo_product images

I want to get updated record for product_images using yotpo as mentioned in this link https://apidocs.yotpo.com/reference#product-images I was getting this API call https://api.yotpo.com/v1/widget/...
user avatar
0 votes
0 answers
42 views

Magento 2 | Flush catalog images in production mode

I updated the photos of the products already existing on my site in Magento2 and they are in production mode. Unfortunately I don't see the updated photos, not even when I clear all the cache so I ...
user avatar
  • 285
0 votes
3 answers
109 views

Running Magento bin commands without keeping in terminal

Is there a way to run these commands: php -dmemory_limit=12G bin/magento catalog:images:resize -a or php -dmemory_limit=12G bin/magento queue:consumer:start media.storage.catalog.image.resize without ...
user avatar
0 votes
0 answers
9 views

i have import product images using csv but my product base image is nnot showing and other image is showing when we click on poduct image

this is our category page link please can you help me for this solution https://ebygghandel.se/komplettpaket.html?product_list_limit=48
user avatar
  • 13
0 votes
3 answers
156 views

How to make transparent product photos have a white background instead of taking on the background color of the website?

Magento 2.4.2-p1 Smartwave Porto theme I really love how the new Magento 2.x takes on the website background color with transparent images. The problem we are having is that some of our images have ...
user avatar
  • 306
0 votes
2 answers
143 views

Get product image on success page | Magento 2

I need to display product image in success page without using object manager which is bad practice.thank you
user avatar
0 votes
0 answers
10 views

How to add DatePicker in Product Image Details at admin in magento 2

At product edit page, I'm trying to add image hide date "a custom field of datepicker" so far it shows the inputbox but not calender upon clicking the box. I have override gallery.phtml and ...
user avatar
0 votes
0 answers
14 views

Increse sharpness and contrast of images while uploading through csv in magento 2

I want to increase the sharpness and contrast of the images uploaded by Magento as according to a client, dull images should be converted to sharp images with a little boosted contrast. I found many ...
user avatar
1 vote
1 answer
67 views

Why Magento Cloud doesn't show product's image in the admin, but showing it in the frontend?

I'm adding product images in the admin panel, but after save it's not showing the image in the backend. The result is 200 and opening it in a new window the image is blank, what could I do?
user avatar
0 votes
2 answers
88 views

I want to add product description image in product detail page but don't know how. Can you help me?

I want to add product description image in product detail page but don't know how. Can you help me? It looks like this: Thank you!!!
user avatar
0 votes
0 answers
19 views

Show "pure" product images from upload instead of cached or resized version - Magento 2

I am trying to customise my product pages but I am struggling with the fotorama / gallery options and files. I have a very limited amount of products so I have optimized all of the relevant product ...
user avatar
  • 125
1 vote
1 answer
90 views

Add image in order items view page

I need to add product image next to product name in module-sales\view\frontend\templates\order\items.phtml page without using objectmanager which is a bad practice.
user avatar
0 votes
1 answer
24 views

Image for product not showing on category page but it showing on product page

Magento CE 2.3.2 Uploaded new image and set base, small and thumbnail that image save product navigate on category page for that product image not showing and open image path in new tab , image not ...
user avatar
  • 121
0 votes
1 answer
309 views

Magento 2 open fullscreen/lightbox view when clicking on product thumbnails

I'm attempting to make it so that if I click on one of the thumbnails in the carousel it opens the fullscreen mode rather than the customer having to click twice to first get the image onto the stage/...
user avatar
  • 362

1
2 3 4 5
25