Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [product-images]

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

0
votes
1answer
9 views

Product Listing Images Are Not Displaying/Loading Correctly

Website is on Magento 2.2.6. As far as I remember, this issue was not present when we were on previous versions of Magento. Description of the issue: When clicking on a product listing, the ...
0
votes
1answer
30 views

How to fix low quality of product image? [2.3]

I'm using 2.3 When i upload product image will be blur on frontend. But backend is clearly. How to fix low quality of product image on frontend? Thank you! <?xml version="1.0"?> <!-- /*...
1
vote
0answers
20 views

Magento2 product images not showing but are still in the media folder

We have a recurring problem on a Magento2 store, where all of the product images do not show. We see the Magento default placeholder. Previously, we have manually uploaded every image through Magento ...
0
votes
1answer
23 views

Image Resize not working for catalog images magento 2.3

Please check the below code app\code\Vendor\Category\etc\di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/...
0
votes
1answer
16 views

How Magento generates Product Images Cache?

We have uploaded the product images via Magento 2 admin-panel for our client site. For checking purpose, we have downloaded the image (which we have uploaded) from the front-end of the site. Upon ...
0
votes
0answers
6 views

Images not loaded in administration

Product images are not displayed normally, when I'm editing a product. It's like there's no data for the image or no image at all. Please check these screenshots: If I try to save product again, ...
0
votes
0answers
12 views

Product image size reduces in Front end

When I have checked the product image size in the frontend, I have noticed that the size of the image has been reduced. For example, I have uploaded an image with the size 200 KB but when I download ...
0
votes
0answers
15 views

Can't upload product images on Magento 2 Xampp

I cannot upload product images on Magento 2 in Xampp. When I try to upload the product image, it gives me an error. Please see the following image: I have also tried it again but the same error ...
1
vote
0answers
22 views

Fotorama zoom magento2.1

How to change the size of Fotorama zoom on magento2.1 to 700px? I tried it on gallery.phtml but nothing changed.
2
votes
0answers
15 views

how can i add pagination in product images in admin?

how can i add pagination in product images in admin? any have idea about this.
0
votes
0answers
18 views

Deleting Duplicate Product Images

Does anyone have any tips for writing a script that would delete all duplicate images for a product's variations? The way our products were migrated in resulted in each simple product having its own ...
0
votes
1answer
14 views

How to get Magento 2 product image on custom phtml by product id Without loading product collection

I need product image on custom phtml in magento 2. Product is collection is a array not object. I just want to product product_base_image , without loading product collection. I tried <?php ...
0
votes
2answers
44 views

How to get product image by product Id in magento2

I am not able to get the absolute path of image by product id in magento2. Can anybody help me? I am able to get media path so far by directoryList class by doing this $this->directory->...
0
votes
0answers
16 views

Show random product images Magento 1.9.x

I'm kinda stuck with a Magento project. My client has products with each product having multiple images. I want to show a random product image from each product in the shop on the homepage. I ...
0
votes
1answer
30 views

Magento 2: How to I solve product image not changing in admin panel

I have a Configurable product. I change the image of config product before saving :: after saving :: Product Image not changing I tried 3 time How I can solve this? pub/media/catalog/product
2
votes
1answer
41 views

Images not showing in admin or front-end

All my images are not showing anymore on both the admin and the front-end. They are all replaced by the Magento placeholder. When I check in Catalog -> Manage Products, select a product and click ...
0
votes
0answers
13 views

how can i upload image with UI form to database and show in phtml

i know this question is asked before but i can't understand properly from them.please some one provide latest solution for this how can i add picture of product to database from my UI (add new post) ...
0
votes
0answers
12 views

Thumbnail url clarification needs

I get the thumbnail url using the following code $image_url = $this->imagehelper->init($product, 'product_page_image_small')->setImageFile($product->getFile())->getUrl(); echo $...
0
votes
0answers
42 views

Magento2: How to disable product image cache url?

I want to disable product cache URL. How to get product image URL directly into the path.
0
votes
0answers
27 views

Magento2: Magento media to S3 bucket uploading issue

I have installed the Thai Module for transfer media to S3. When I run the php bin/magento s3:storage:export images upload successfully but images not showing on S3 bucket. Please check the screenshot....
0
votes
1answer
22 views

After migration can`t update product image

I migrated Magento from 1.9.0.1 to 2.2.5. After this migration i can't add new image for some products Could you tell me what is wrong?
0
votes
1answer
41 views

Magento 2 Stop Product Image Compression

compression on Magento 2.x is very strong, so that the quality of product images get really bad in Catalog and Product view. How can i disable or stop product image compression ? currently, Magento ...
0
votes
1answer
39 views

Magento2: Got the issue

I have installed the Magento2-S3 extension for Aws S3 storage. I have got the issue below when I run the command php bin/magento s3:storage:export PHP Fatal error: Uncaught Error: Class 'Aws\S3\...
0
votes
0answers
34 views

How to connect AWS S3 bucket images to my website

I have installed the extension https://github.com/thaiphan/magento2-s3/ for connect to S3 bucket. When I proceed to sync button then images not uploaded proper format on AWS S3. Please check the ...
0
votes
1answer
56 views

Open Graph Protocol Image Too Small Magento 2

I notice the default code for the image open graph protocol generates the smallest image available. <meta property="og:image" content="<?= $block->escapeUrl($block->getImage($block->...
2
votes
2answers
128 views

How to Get Product Image data in Cart API Magento 2?

GET /V1/carts/mine This API Returns information for the cart for a specified customer. How to get Cart Item Images Because in Mobile Application we show Product Images in CART - so how Can I get ...
-1
votes
0answers
19 views

Configurable Product Pictures

I have been having the problem for weeks and I cannot seem to get my head around it. Basically, I have a configurable product setup with three simple products as configurable options. See here: https:...
0
votes
0answers
25 views

M2 display grouped products thumbnails in gallery images

Magento 2.1.10. I would like to display associated products thumbnails in my grouped product page. In my product page layout, I'm using the gallery.phtml with fotorama to get product images, and I ...
1
vote
2answers
83 views

In Magento 2, Set base image as small image

I have nearly 40k products and all images have been set to small only. If I go into the backend and then set each image one by one to the base, it will take me forever. Is there any way to do it via ...
0
votes
0answers
67 views

How to change sort order of image gallery in Magento 2?

i'm using magento 2 defualt image gallery. I'm trying to change to sort order of image. I need this active image to come first in the left image sidebar. public function getGalleryImagesJson() {...
1
vote
0answers
46 views

M2e Pro Extension Magento2

i am using m2epro extension in magento2 currently i am using water mark but its apply on all images i want to apply on just base image how can do that?.
0
votes
0answers
22 views

Magento 2: Some of the Products image disapper in list page

I am working in Magento ver. 2.1.6 facing the issue in thumbnail images disappears in list page for some of the products. And showing placeholder image instead of the product image. But that disappear ...
0
votes
1answer
33 views

magento 2: Product Page gallery.js issue

On product page the below console error showing i just set fullscreen=false gallery.phtml <script type="text/x-magento-init"> { "[data-gallery-role=gallery-placeholder]": { ...
0
votes
0answers
12 views

Assigning the category image to all products

I was wondering if there could be a way to assign the category image to all products under it. I would like the image to be shown when you enter the product details but also when you add to cart, view ...
0
votes
2answers
70 views

How to remove white background from product images in Magento 2.2.6?

How to remove white background from product images in Magento 2.2.6? Please check this screenshort
-1
votes
0answers
35 views

Magento Product images are in admin but not select as base and small image

I had upload Product through csv and images are visible in admin but not select as small or base image and select as exclude some of.I have use a script which assign images to product.But i forget ...
0
votes
1answer
31 views

Magento 2 - Image Label returning Product name

I am trying to display a Product Image but am not able to get the correct data for the Alt Text $image = $block->getImage($_product, 'category_page_grid'); When I call $image->getLabel() it is ...
6
votes
2answers
529 views

Unable to see the actual images in the back end

Magento 1.9.1 Porto theme We had to have our hosting company do a full restore. Now most things work except for when going into the images tab in the Admin panel: it shows the BROWSE FILES and ...
0
votes
0answers
35 views

Correct way of adding images programmatically?

I have the following problem, right now my program uploads the images and does it good, however when i go to the edit product page, the following are empty or uncheked: Role Alt text Here is the ...
1
vote
1answer
64 views

Configurable Products Images Not Showing

I have a configurable product set up with two simple products associated to it. For demonstration purposes I have used the configurable product "Pet Test" with the two simple products "Test Product ...
1
vote
0answers
17 views

I can't change the product thumbnail programmatically

Somehow I am unable to change the thumbnail of an Product and it drives me crazy. Setup $product = $this->objectManager->create('Magento\Catalog\Model\Product') ->setStoreIds([0,1,$this-...
0
votes
0answers
8 views

What is the maximum number of import product images?

In magento 2. I wish to import product images from local server. There are like 13,700 images for 1,500 products. And the total size for all the images is 3.7 GB. Will there be a problem importing ...
0
votes
0answers
20 views

restored from a full Cpanel backup, now images show on the front end but not in the Images tab in Admin

Magento 1.9.1 Porto theme We had a problem. The hosting company restored things from the full cPanel restore but we now have 2 problems: I am unable to access the database via the phpMyAdmin icon ...
1
vote
3answers
305 views

Can't upload product placeholder images in Magento 2

v2.2.6 I'm trying to replace the Magento placeholder image with a custom one. Everything I browse to select the file and hit Save, nothing gets saved. Is there an issue with this in v2.2.6? What ...
0
votes
2answers
88 views

Disable magento image cache

Is it possible to disable Magento 2 image cache (it's consuming 41G), I want to use S3 for images since I expect our images to go over 2TB in few months, I am afraid generating cache on S3 may take ...
0
votes
1answer
14 views

Magento After adding the double quote in attribute option swatch images not change in front-end

In Magento 1.9.1, I have added a size attribute and add a option to that size attribute as Large 9.5" Tall x 7.5" Diameter & Small 2" Tall x 5.75" Diameter. After adding this option with double ...
0
votes
1answer
21 views

Image Thumbnail in product not selected after product import

I have problem with product thumbnail. When imported csv file of products I forgotten to add thumbnail column. So because I imported several files of products, I exported all products in one file and ...
0
votes
0answers
22 views

Product changes not appear in frontend

I have problem with my products in magento 1.9. I successfully imported products to shop, but when I made changes in backend, changes not appear in frontend. For example I change Base image or page ...
0
votes
0answers
55 views

Magento 2 Image not display on frontend website

On Magento 2.2.2 project the image does not display on website. It shows an error image with message “This website is using bandwidth & images”. If I open this image in new tab its open the ...
0
votes
3answers
97 views

File was not uploaded Magento 1.9.3.10

Cant upload any images to new or existing products. Updated magento to 1.9.3.10 but it didn't fix the issue. Looked at different solution but so far can't fix it. Tried permissions, cache. All ...