Stack Exchange Network

Stack Exchange network consists of 175 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.

2
votes
1answer
33 views

Is it possible to delete an image from google search results without approval of site owner? [on hold]

We have a Magento site with lots of images. Since we have competitors, there is a possibility to delete the images from the search engines like google image search. In this case, I want to know that,...
2
votes
1answer
28 views

magento 2 Uncaught TypeError: Argument 2 passed to Magento\Catalog\Block\Product\ImageFactory::getLabel() must be of the type string

In custom theme And category page show this error- Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Catalog\Block\Product\ImageFactory::getLabel() must be of the type string, null given, ...
0
votes
0answers
11 views

Magento 2: Wrong product thumbnail image on search results page

I've noticed in both the backend catalog search and frontend search that incorrect product thumbnail images are being displayed for certain products if they do not have an image associated with them. ...
2
votes
0answers
19 views

Magneto 2: Assign existing image to product with position

I'm looking to attach size charts to products in my store using the Magneto data import. I want to use the same image for each of them, and it's already on the server. So I've got a twofold issue. ...
2
votes
1answer
21 views

M2.2 - Get Total Image Count for All Products

I recently did a migration from M1 to M2, and with doing that, all images came along. Some products tend to have north of 10 images, and some more like 1-3. I am trying to find a simple and fast way ...
0
votes
2answers
30 views

Magento 2 override admin product-gallery.js file in custom module

I have created one custom module named Hs_Mageenhancement and want to override below admin js file. magento2/vendor/magento/module-catalog/view/adminhtml/web/js/product-gallery.js I have created ...
1
vote
0answers
21 views

Error message can't save a product

I can't save any product the system is keep on giving me this message Notice: A non well formed numeric value encountered in /home/.../magento/lib/Varien/Image/Adapter/Gd2.php on line 344 Please I ...
0
votes
2answers
19 views

Magento 2 product image is blank

I'm trying to write an observer and send product data to external source. Have everything done except that when I get image it shows default Magento image. public function __construct( \Magento\...
1
vote
2answers
48 views

Magento 2: product image upload error

I have run below code use Magento\Framework\App\Bootstrap; use Magento\Catalog\Block\Product\Image; include("app/bootstrap.php"); //$product_id = 4814; $bootstrap = Bootstrap::create(BP, $...
0
votes
0answers
24 views

magento 2 admin product image detail custom textfield value gone after dialog close

I override app\code\Magento\ProductVideo\view\adminhtml\templates\helper\gallery.phtml file following below steps. 1) Create module name app\code\Hs\Mageenhancement. 2) Create event.xml file under ...
2
votes
2answers
30 views

Magento 2 : How to make product image zoom on mouse over

I want to zoom product gallery image on mouse over in magento 2. How to do that. Thanks.
2
votes
2answers
40 views

Magento 2 product images always returning the placeholder image

I've written a plugin, and in it I'm trying to obtain the product image url like this: $generalInfo = array( 'image_url' => $this->_imageHelper->init($product, 'product_base_image') ...
2
votes
0answers
11 views

Best way to handle product images on Magento 1.9.x?

Magento 1.9.1 and 1.9.4 I defined our front page image size to be 300 x 350 but some photos do not show that size (I guess based on the side ratios of the original product image?). It does not look ...
1
vote
1answer
25 views

Best way to GET the default Image for Magento 2 using the Rest API

This seems simple but I see a few options for pulling images using /V1/products/{sku}. One is the media_gallery_entries which works fine other than the fact that the first image is not always the ...
1
vote
0answers
16 views

How to create a custom module for image and video upload in Admin product page magento2.2.5?

I want to create a custom module for image and video upload in Admin product page magento2.2.5? Any help would be appreciated.
1
vote
0answers
25 views

Magento product Images are uploading but not showing up after upload in backend and frontend

When trying to upload a product image, it stays stuck on "Complete", like this and nothing happens. My Magento version is 1.9.3.2 I've changed the media folder permissions also checked removing the ...
0
votes
0answers
19 views

How To Fetch Product Image From Product Name Or Entity Id In Magento 2 [duplicate]

I Have Given A Foreign Key in my table field name is productid with an entity of product I have already fetched product name from id but now I want to fetch product image from that id and display it ...
1
vote
0answers
60 views

Magento 2 : How to fetch product thumbnail images in admin grid?

<?php namespace Magneto\PopupQuestion\Ui\Component\Listing\Column; use Magento\Framework\View\Element\UiComponentFactory; use Magento\Framework\View\Element\UiComponent\...
1
vote
1answer
30 views

Image not optimizing for product page

I import products from CSV file. I added base_image, small_image, thumnail_image, swatch_image and additional_image column. In backend it had been updated. But in front-end shows default magento icon. ...
1
vote
0answers
10 views

Product Image Gallery Not Displaying When Using Custom Theme

I have created a child theme from Luma and when I enable it the product image gallery does not appear. When I re-enable the Luma theme the image gallery works fine. What am I missing? NOTE: I'm using ...
1
vote
1answer
24 views

How to get ordered product image from getAllVisibleItems()

I have to display an image of the ordered product. I am using getAllVisibleItems() to get all the details of my order. From where I can get my ordered product image.
1
vote
2answers
31 views

How to show base image on minicart in magento2.1.7?

I want to show base image in minicart and checkout, Right now it is showing thumbnail images in magento2.1.7 I don't have any thumbnail images for my product so I need to point it as base image. Any ...
1
vote
0answers
48 views

Magento 2.2.7 single product image not showing on front end

I'm developing a website in Magento 2.2.7. I have a problem whereby if I only add one image to a product in the admin area it doesn't show on the frontend, even after trying all of the various ...
1
vote
0answers
21 views

Unable to add images in Magento 1.9. Is it possible to create a new product, upload the photo to a folder & reference photo directly in the database?

Magento 1.9.1 Porto theme We had a major problem, had to do a full restore but ever since we are not able to work with product images on the backend. This is not the issue with flash/browser. It is ...
2
votes
1answer
78 views

Magento 2.3.0 product image cache resizing images to look very bad

i have uploaded images to magento 2.3 and when i look on product page i can see it been resizing to different size with white lines. look at original image that has been uploaded: https://...
2
votes
1answer
34 views

Why so many cache images?

I am new to Magento 2 and also new to StackExchange. I observed that there are so many images generated in the cache directory. Why do I need this? How can I stop creating these images? What would ...
0
votes
2answers
34 views

How to stop magento to generate all types of images in cache on page visit

I'm using Magento 2.2.5 and when we visit listing or product page Magento creates the various sizes of images in pub/media/catalog/product/cache/ directory which I don't need except some. I have ...
0
votes
0answers
17 views

Exclude Swatch Image from Product Images when creating gallery

I'm trying to find out how to have a swatch image assigned to a product, but ONLY used for the swatch, right now, it also shows up as one of the product's images, and I was hoping there was a way to ...
6
votes
2answers
200 views

Excluding product images progamatically

How do you exclude all product images of a product, i.e. the Exclude box of every image being ticked on the Images tab in the Magento backend. I'm bulk adding new images to products using $product-&...
1
vote
0answers
19 views

Use of Image Compression

We have almost 300 products on our site. For each product, we have created the images. Let say, the average size of images for one product is 4MB. But as far as I understand, cache serves the ...
1
vote
1answer
79 views

What is the use of Magento 2.2.6 product image cache?

I have some points regarding the Product Image Cache to discuss with you. I have created a product from the Magento admin panel. After creating the product, I have uploaded two of the product ...
4
votes
1answer
413 views

Some very few images are rendered with inverted colors by Magento

We have the problem, that one image in the catalog is shown negatively in Magento below the gallery: Original I tried to reproduce with n98-magerun2 dev:console $i = $di->create('\Magento\...
0
votes
1answer
35 views

cannot import images

I'm trying to import csv products but I get that error 1. Imported resource (image) could not be downloaded from external resource due to timeout or access permissions in row(s): 1, 2, 3, 4, 5, 6 ...
0
votes
0answers
216 views

Magento 2.3.0 product image cache not created when resizing images

I have an issue with Magento 2.3.0 not resizing images from view.xml file in custom theme. My view.xml: <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="...
0
votes
0answers
26 views

How to resize product view page image on different devices in magento 2

I'm trying to resize product view page image in mobile view. it's very small and not visible I tried resizing by adding new size in <Theme Root>/etc/view.xml and php bin/magento catalog:images:...
1
vote
2answers
47 views

Magento 2.3, Too Many Duplications in Product Image Cache?

I've been working on improving Magento product image quality since the start of the week. I have clients spend big bucks in product photography and their photos came out pin sharp, however, after ...
0
votes
0answers
26 views

Magento 2 Magnifier using set the zoom product image at mobile device

I want to magnifier enable at the product details page using this way. but there magnifier enable at the desktop device. <var name="magnifier"> <var name="fullscreenzoom">20</...
1
vote
3answers
149 views

Magento 2.3 can't upload product images

Every time i try to upload product images on my Magento 2.3 website, i get the following error: A technical problem with the server created an error. Try again to continue what you were doing. If ...
0
votes
1answer
21 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
0answers
65 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
82 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
169 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
51 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
11 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
14 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
31 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
46 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
38 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
15 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 ...