Questions tagged [product-images]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
14 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
13 views

Integrate zoom in product Photos modal in Magento2

How Can I integrate zoom in product sheet modal in magento 2
0
votes
0answers
13 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
19 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
18 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
45 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
21 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
14 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
14 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
11 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
52 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
31 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
9 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
12 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
21 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
17 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
14 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
35 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
19 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
7 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
14 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
7 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 ...
0
votes
0answers
5 views

Is there is a way to add Name of the product in place of Image in Cart and checkout page in Magento 2.4?

I want to add name of the product in place of image in checkout and cart page in Magento 2.4? Like to remove there is way or another but how to add name with some class on that place is the part which ...
0
votes
1answer
39 views

Magento 2 : Disable CDN

Is their any way we can disable cdn for media url in magento2 ? I am having issues in order confirmation email. In products it has cdn link for products images, not what i have added in media url in ...
0
votes
1answer
30 views

Magento 2.4.1: Zoom_in and Zoom_out button is not working inside product popup image on product details page

I am facing issue with image zoom_in and zoom_out functionality inside product image popup on product details page, I am also including screenshot for better under standing Please help and how can I ...
0
votes
1answer
32 views

Image not imported from CSV in Magento 2.4

I want to import some product with images with CSV so i have add my image in var/www/html/mag/var/import/images folder with lamptest.jpg name and added filename with base_image , small_image , ...
0
votes
1answer
17 views

Image size via view.xml - possible to set up for category specifically and NOT globally only?

For Magento 2 a new feature is the view.xml, which allows me to configure image sizes globally. Image sizes on category, product, and basket pages can all be defined within this xml file by width, ...
0
votes
0answers
15 views

I have deleted cache directory from media/catalog/product folder. Now all image paths are giving code 500. How can I regenerate Images?

So as the title says I made a mistake and deleted all cached images. And now Magento is confused as image paths are pointing to no files. I know there is the command to resize images, but it takes ...
0
votes
0answers
15 views

Magento 2 Base image tag on UI does not match with API response

I had a product for which I had uploaded a base image with file name 7aceebe8-7adf-48dc-9c78-c235999b34a1.jpg Then I uploaded another image 677dce28-258e-4a92-ba4a-88fae42c9b60.jpg as base image via ...
0
votes
0answers
14 views

Magento 2 different image size resolution per category

In the product view I have 1/2 ratio image for product A (material) and 3/4 ratio image for product B (material on person). For the category view I can easily change the product picture ratio in the ...
0
votes
0answers
13 views

How to Display Product Images by Image Role

I am trying to figure out how to display product images by their image role inside Magento_Catalog/templates/product/image_with_borders.phtml Each product on my shop page will have three images each ...
0
votes
0answers
18 views

Is there a way to automate catalog:images:resize after a product import?

First off, all product data is being imported in to Magento. I know it's an issue that the images cache isn't created so after the import products show placeholder images and we can fix this by ...
0
votes
0answers
28 views

Magento 2 - How to use simple product images for configurable products when no configurable product image is uploaded?

How can I use the simple product image for configurable products where no configurable product image is uploaded? Currently I can see the placeholder image unless options are selected. I set up ...
0
votes
0answers
24 views

Images not displaying in correct order for configurable product in magento 2.3.3

The images for the configurable product dont appear in proper order as in backend. See https://prnt.sc/128ldmw and https://prnt.sc/128leye I want to display them in the same order as they are in the ...
0
votes
0answers
15 views

Resizing Zoomed image on Product Page

I am needing to resize (reduce) the zoomed product page image. After clicking on the image and the popup image opens, it fills the whole page. I need to reduce the size to where it is not so large, ...
0
votes
1answer
36 views

How to resize product images without magento resize commands

We have magento setup with magento version 2.3.5-p2. Currently it is showing product broken product images. After running resize command bin/magento catalog:images:resize, product images are working ...
0
votes
0answers
23 views

Assigning Thumbnails via Magento REST API

I am trying to add thumbnail images to SKUs via REST API. However, the image is added but does not show as a thumbnail. Please see my POST request below https://url.co.uk/rest/V1/products/231877/media ...
1
vote
1answer
45 views

Magento 2 set child product image from URL

Magento 2.3.5 How to set child product image from URL for configurable product on the product detail page Example - product URL is - http://xyx.com/product.html#447=5439 dropdown is selecting ...
1
vote
1answer
171 views

magento 2 Uncaught TypeError: Cannot read property 'data' of undefined [closed]

Magento 2.3.5 getting error on the product detail page of configurable product - Getting this error - Uncaught TypeError: Cannot read property 'data' of undefined at Object.returnCurrentImages (...
0
votes
0answers
13 views

How to show a higher quality image in Magento2 Gallery Fullscreen

I want to load the product_page_main_image (which is larger) rather than the product_page_image_medium when you click the Fotorama Gallery. This will give me a higher quality image because it's ...
0
votes
1answer
68 views

How can I load image through api by using external image url?

I have my product images in my cloud store and those are public. I want to map those images to product through API. I have gone through the solution given in the below link. But I want to check if ...
0
votes
1answer
167 views

Fotorama zoom_in and zoom_out buttons are not working in Magento 2.3.6

The zoom_in and zoom_out buttons are not working in the product pop-up gallery, however, while clicking the image, the image gets zoomed on the first double click and gets zoomed out on the second ...
0
votes
1answer
39 views

Magento 2 - Fotorama Gallery Nav shaft is missing on product page

If you add multiple images to a product then they are showing below the base image in small boxes, see screenshot below (bottom corner - left): This box is missing. First I thought it is because some ...
0
votes
0answers
31 views

How to show all images on product page M2

I'm trying to show all images on the product page like this but I still need to keep the zoom functionality and carousel for mobile. Is this possible whilst using fotorama?
0
votes
2answers
37 views

Assign images to products programmatically

I want to assign images to products in my store. The images name the same SKU product name. I put my PHP file in root/pub and tried this code: <?php ini_set('display_errors', 1); ini_set('...
0
votes
0answers
15 views

How Can I Change Dimension Of Gallery Thumbnail Image Product Detail In Magento 2?

I Need Make That Image Small. How Can I Change Dimension Of Gallery Thumbnail Image Product Detail In Magento 2 That's Gallery Thumbnail Image Need Small It Any One Help Me.
0
votes
1answer
32 views

How To change Product Detail Page Image Section Height In Magento2?

How Can I change Product Detail Page Image Section Height. I Need To Decrease That Section Height. i need to fixed this left column height as right column in magento 2 can any one help me how can i ...
0
votes
3answers
36 views

Not able to get product image

How to get product image in "default.phtml" file ? Magento2/vendor/magento/module-sales/view/frontend/templates/email/items/shipment/default.phtml I am getting the shipped product object in ...

1
2 3 4 5
25