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.

0
votes
0answers
19 views

Product images aren't showing in mobile view in magento 2.2

Product Images aren't showing on the product page in mobile view. I am not able to find out what is the issue. How to solve this.
1
vote
1answer
17 views

External image details getting added in order email template in Magento 2

I am trying to add product image in the sales order email template with overriding in the path /app/design/frontend/vendor/Mytheme/Magento_Sales/templates/email/items/order/default.phtml. Code ...
2
votes
1answer
31 views

Magento2 PWA images missing - development environment

I have followed below URL. https://webkul.com/blog/magento2-3-pwa-studio-setup/ Setup is successfully installed and my local environment is connected to PWA application, but all of my images ...
0
votes
0answers
10 views

How to gracefully handle image exceptions?

So I am having the same issue as what is talked about here. The images that are throwing the exception are broken, and I'm working on replacing them, but until I get them all replaced is there a way ...
1
vote
1answer
39 views

Magento 2.3.0 How to get product image from order item collection

I would like to get a product image from order items collection. How can I get a product thumbnail image? Below is my custom order item collection code : public function getEmailLogOrders() { $...
3
votes
0answers
33 views

Multistore Images are not coming after Upgrade 2.2.6 to 2.3

I have multiple stores setup with more then 100K products and 500+ categories. So my issue is when I upgrade Magento 2.2.6 to 2.3 the product images are coming properly from main store but some ...
0
votes
0answers
17 views

Magento 2 Very slow loading images

I'm running Magento 2.3 on CentOS with 8GB RAM, SSD, 4 Core CPU approx 6,000 products each with 3 or more images. CDN is also running. I've gone through every possible option within Magento and in ...
1
vote
1answer
24 views

Magento 2 How to resize product gallery images?

I have to resize the product gallery images. I'm using this link to resize image Resize Image but it's only allow to resize image product_base_image. While I have to resize all other image then ...
1
vote
0answers
16 views

Can't Upload Products images to DigitalOcean CDN?

I have Integrated DigitalOcean CDN with Magento2.2.7 version. I can get images from CDN successfully but when I am uploading product images then it is not uploading to CDN directly. Is required any ...
0
votes
0answers
11 views

Assign images to simple products within configurable

I have 1300+ Simple products that are joined by 120 configurable. Currently all configurable products have images, however when I select options such as color, in the configurable images don't switch/...
0
votes
1answer
23 views

magento 2 how to display simple product image instead of configurable product image in order detail?

I can successfully display the configurable product image in order detail page with the following code. /** @var $block \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer */ $_item = $block-&...
1
vote
0answers
28 views

Need the help of an EXPERT in Magento 2

i am currently trying to wireframe a very custom website e-store, i will try to be as direct and clear as possible to my question: Is it possible to have for example, in a product page where you are ...
1
vote
0answers
18 views

Magento1.9: How can i add image of product using soap api

i have use this code: $proxy = new SoapClient('http://magentohost/api/soap/?wsdl'); $sessionId = $proxy->login('apiUser', 'apiKey'); $productId = 2; $file = array( 'content' => '/9j/...
0
votes
2answers
35 views

How to add product image to new order email template

I need to add a product image to a new order email after successful checkout. Which file do I need to override to affect only new order email template? Should I override it in app/code or app/...
2
votes
2answers
96 views

Magento 2 stop (or) avoid resize product image at admin end?

In Magento 2.2.3 CE, Is it possible to get default maximum image dimensions in Magento when uploading images at admin end? For example, I uploaded some images to a product that were 2400x2400 and ...
0
votes
1answer
21 views

Importing product images in specific sequence / order

I import images into Magento as described here https://docs.magento.com/m2/ee/user_guide/system/data-import-product-images.html and here Product import csv images not getting imported : I upload the ...
0
votes
0answers
19 views

Magento2: Bootstrap4 conflict, not showing image on product detail page

I have install bootstrap in my Custom theme.Bootstrap (bootstrap.min.js and bootstrap.min.css)added successfully. but create conflict in product detail page. I have add single image in products from ...
1
vote
3answers
36 views

Magento 2 Images Not Showing on Product Detail page Please Advice

I have installed Magento 2.1.6 and had lot's of products over it. then i download fresh copy of magento 2.1.7 from magento market place and extracted and used my previous database that was had lot's ...
2
votes
1answer
34 views

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

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
65 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
18 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
20 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
25 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
35 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
24 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
30 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
63 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

How to show uploaded image url in custom tab in admin grid in Magento2

I want to show the uploaded image URL in a custom tab in admin grid in Magento 2. In the custom tab, image name is coming from the database. Any help will be appreciated. As shown in the picture I ...
0
votes
0answers
36 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
46 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
70 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
26 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
21 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
36 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
22 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
100 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
27 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
50 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
112 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
182 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
54 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
213 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
21 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
88 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 ...