Questions tagged [product-images]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
29 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 ...
0
votes
0answers
8 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 ...
0
votes
1answer
21 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 ...
0
votes
2answers
43 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 ...
0
votes
0answers
10 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 ...
0
votes
0answers
13 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.
0
votes
0answers
34 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:...
0
votes
0answers
19 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 ...
0
votes
2answers
54 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/...
0
votes
2answers
17 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 ...
0
votes
1answer
22 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 ...
0
votes
0answers
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/...
0
votes
0answers
19 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 ...
0
votes
3answers
71 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 ...
0
votes
0answers
8 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
0
votes
3answers
89 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 ...
0
votes
2answers
40 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
0
votes
0answers
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 ...
0
votes
0answers
11 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 ...
1
vote
1answer
33 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?
0
votes
2answers
25 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!!!
0
votes
0answers
14 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 ...
1
vote
1answer
48 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.
0
votes
1answer
17 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 ...
0
votes
1answer
93 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/...
0
votes
2answers
42 views

Getting Incorrect Image URL in Custom GraphQL Query

in my Custom Graphql Query, I am trying to get product image Url using Magento\Catalog\Helper\Image in this way $this->imageHelper->init($product, 'product_thumbnail_image')->getUrl(); I am ...
0
votes
1answer
22 views

Magento 2 - 1 image stored for multiple configurations

I am working on a store that is comprised of mostly configurable products. I am importing and adding products from a suppliers API into the magento store. My command is running fine. However, I can't ...
0
votes
3answers
40 views

Magento 2.3.6 search result page no product images

I'm trying to fix a an issue in a store for a customer without success.. Website prochet1861.com is developed with Magento 2.3.6 and running Elasticsearch 7. All work perfect (categories, advanced ...
0
votes
0answers
18 views

Integrate zoom in product Photos modal in Magento2

How Can I integrate zoom in product sheet modal in magento 2
0
votes
0answers
20 views

Mage2/ImageMagick - PNG images way bigger after caching than the original (and already optimized) ones

For my shop (magento 2.3.6), I use 1000 x 1000 png images for product pages. I display them at 500 x 500 but because of retina display users, I tend to make then two times bigger for better quality. I ...
1
vote
0answers
45 views

How to show all images in configurable product before user has selected an option

It is very comfortable to the user navigate between all images product before select an option, but its confusing show all images when user has an option selected. I'm looking for a way to show all ...
1
vote
1answer
25 views

Which of these folders inside of the Media folder do not need to be migrated from Magento 1 to Magento 2?

Magento 1.9.4 --> Magento 2.4.2-p1 I have done the settings and data migration by using the Magento Migration Tool. I am now using FTP to download all folders and subfolders in the MEDIA directory ...
0
votes
1answer
103 views

Solved: Product saving issue - images - unique constraint violation found - 2.4.2-p1

We face a unique constraint violation found error when we try to save the product. When we check the attribute code '87' in the catalog_product_entity_varchar table, we see that it is the default ...
0
votes
0answers
23 views

Image not showing on product page of programmatically created products

Magento 2.4.2 I'm creating products programmatically with this code: <?php namespace Vendor\Base\Helper\Product; use Magento\Catalog\Model\ProductFactory; use Magento\Catalog\Model\...
0
votes
2answers
17 views

magento 2.3.5 image cache being auto generated

Images inside cache folder are being auto generated I've truncate 3 specific folder that I know we don't need it after while checking again it has generated all over again when there hasn't been image ...
0
votes
1answer
15 views

Images disappeared from backend but still in SSh

I do have an issue with product images, In the backend there are no images Export from Magento shows images are assigned correctly and the images are available in SSH. The issue is not all the ...
0
votes
0answers
14 views

Magento 1: Images' "meta data" lost after uploading product photos to Magento 1.9 website

Magento 1.9.4 Porto theme I have been putting a lot of work in adding "meta data" on all the images on the website. I do this on Adobe Photoshop. It seems to have disappeared. Is there ...
0
votes
2answers
58 views

Get Sku on list image phtml file

I am setting up a new site using 2.4.2 and need to use existing product images which are set up on a CDN, in the following formats: https://website-list.s3.amazonaws.com/xxxxxx.jpg https://website-...
0
votes
1answer
158 views

Magento 2: Set an explicit width and height on image elements to reduce layout shifts and improve CLS?

When I run my site through https://developers.google.com/speed/pagespeed/insights/ it shows this error: I have already added image height and width in my view.xml and I also ran catalog:images:resize ...
0
votes
0answers
11 views

Magento 2: Issue with images after import | how to resize

After import products photo, I have some issues. Unfortunately, some images look terrible. Does anyone have any solution on how I can adjust these photos in Magento2 ?
0
votes
0answers
17 views

Product View sort Images on gallery Magento 2.3.5

Im using fotorama vertical gallery widget gallery.phtml <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ // @codingStandardsIgnoreFile /** ...
0
votes
0answers
49 views

Change Bundle Product images based on option selection - Magento 2

I'm looking for some custom solution for Bundle Products. Where Product Gallery Images will populate according to the selection of the Bundle product Options Our requirement: On Products Detail page (...
0
votes
1answer
62 views

Product Thumbnails Showing up in Admin but not Frontend

I have small_image, thumbnail and base assigned for our product thumbnail images in the admin (which are visible there) which should be showing up on the frontend category pages. The placeholder ...
0
votes
1answer
21 views

Magento2: Products lists images - very poor quality

example: on products list is "small image". on product page is "base image". a) on the products list "small image" products in one line the quality is very poor due to ...
0
votes
1answer
64 views

Magento 2: How to load all product images from external url in front end and backend?

Magento 2, How to load all product images from external url in front end and backend
0
votes
0answers
34 views

How to get small image on category page instead of base image

I hope someone can help us solve our issue. We're on Magento 2.4.0 and having issues to get small image-role for category page instead of base image-role. We're using: small image-role for category ...
0
votes
0answers
9 views

Resize custom Image Role

I've added a custom image role via product attribute and set the option to several products. But when I try to resize the output is a placeholder. Standard resizing is working properly: <?php $...
0
votes
0answers
30 views

Product Image Cache - Image Resizing Error

My server admin manually deleted product images cache which cause product images are not showing on product detail page. I am running this command to regenerate product images cache but it is stopped ...
0
votes
0answers
19 views

Magento2 MultiStore Set Image as small, base and thumbnail programmaticaly not working

Requirement:- Upload multiple images from external url and mark them as thumbnail/small or swatch images. Using multi website, multi store. Issue:- When i tried to do this by custom api in that case, ...
0
votes
0answers
16 views

Images missing after upgrade

I have updated my site to Mage2.4.2, after the upgrade some of the products missing the images, instead of the original image it's loading no image.Is there any way like MySQL query or code that will ...

1
2 3 4 5
25