Questions tagged [product-images]

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

440 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
563 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 ...
8
votes
2answers
1k views

Magento 2 is there a faster way to change product media gallery entries programmatically

I need to do a massive update of product data but what I need to do can't be achieved with product import. In example I need to update media gallery and categories for given products, but the solution ...
6
votes
0answers
1k views

How do I add Product Images as URL instead of uploading them in Magento?

I am making a fashion store in Magento. I have affiliation with many stores and I don't want to save their product images on my server because of space issue, they require a lots of space more than 30 ...
6
votes
1answer
742 views

Watermark Category Images with Brand Logo

I'd like to add a watermark to each small image (but only in the category listing page) that is based on the manufacturer attribute. I don't want to alter the small image for that product on other ...
5
votes
1answer
1k views

Product image not zooming in properly when hovering on image at product detail page

In my product page detail when i try to hover the product image there's only white box with low opacity overlaying at the top of my image like this : Usually in Magento 2, when hovering the image it ...
5
votes
1answer
1k views

All product images missing from admin but show in DB and front end

Using Magento v1.9.2.2 with patches SUPEE-7405 v1, SUPEE-7405 v1.1, SUPEE-8788, SUPEE-9652. Browsers: Safari & Chrome on Mac OSX. I'm having an issue where none of the images in the product admin ...
5
votes
1answer
856 views

Magento 2 : Display grouped product pictures in template

I am trying to display the grouped product images on my product page. So I extended the grouped.phtml file in my theme and modified it as follow: <?php /** * Copyright © 2016 Magento. All rights ...
5
votes
0answers
523 views

All product images need to be defined in view.xml?

In Magento 2, the image sizes are defined in theme's view.xml file, e.g. in Luma theme: /app/design/frontend/Magento/luma/etc/view.xml: <image id="category_page_grid" type="small_image"> &...
5
votes
2answers
1k views

How can I remove the white borders from images? Magento 2.1

All my images appear like this. <image id="category_page_grid" type="small_image"> <width>240</width> <height>300</height> </image> <image id="...
5
votes
1answer
1k views

Magento 2 - Product images from custom block

I have 2 custom blocks, one is loading a product collection from category ID and another one loading a single product from product ID. My blocks extends the core Magento product list block (\Magento\...
4
votes
0answers
50 views

Magento : Product detail page GIF image not call / working

Here my code use in our local environment it's working but in live site not working When i click image gif image not open it live site.but in localhost it's working properly $baseDir = Mage::...
4
votes
1answer
894 views

Magento2.3.1: Images not displaying

Images are not displaying in magento2.3.1. https://www.depoto.com/test-product.html I gave the permissions for media folder 777 already. We are not using any extension which relates to the product ...
4
votes
0answers
787 views

Magento 2 : settings.$elementF.fotorama is not a function

I installed Magento 2.2.2 and getting issue with image gallery js. Product page images are not loading sometimes with below error settings.$elementF.fotorama is not a function
4
votes
1answer
1k views

How to delete product images using magento csv import in magento 2?

Magento Version: 2.1.0 We have added the wrong image for some of the products when importing through Magento CSV import. we want to remove the images from those products and add new images or replace ...
4
votes
1answer
428 views

How to disable magnifier of product image on mobile devices in magento2?

I want to make magnifier disable in mobile device, I have tried below code in view.xml file but not working in mobile devices. <var name="breakpoints"> <var name="mobile"> ...
4
votes
1answer
1k views

How to show image in grouped product

For grouped products, I would like to see the picture of the by-products. I tried several things but without success: in files : Magento_GroupedProduct\templates\product\view\type In the loop of ...
4
votes
2answers
1k views

Magento show wrong image when products doesn't have one

I have a problem with products with no image. I have set the Product Image Placeholders in the backend at System > Configurations > Catalog > Product Image Placeholders It works well with the ...
4
votes
1answer
620 views

Set default product image via REST API

I'm using Magento REST API to create products and upload images. No problems so far, but i can't find a way to set an image as the default image to be displayed on the store using the API. Is there a ...
3
votes
0answers
49 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 ...
3
votes
1answer
178 views

Magento 2 - Images randomly not loading on Product Page

I am unsure what is causing this issue, but images are randomly not loading on the front-end of a live website. This issue came about yesterday and there doesn't seem to be an obvious fix. ...
3
votes
1answer
359 views

Magento : Upload .GIF image for a Product

I want to upload .GIF image for a product in magento. it should be animated in product detail page. i have uploaded GIF image for a product but it's look like a .JPG/.JPEG image. it's extension is ....
3
votes
0answers
208 views

Configurable Product - Get image ID from simple product

I have a problem regarding the productimages/image gallery in a product that is configurable. Question Is there a way to get a ID of the Simple Products Image and link it to open the right image in ...
3
votes
0answers
398 views

Magento 2: Do I need to have separate swatches for every configurable product?

TL;DR Simply put: How to make a configurable product with different images and different prices for each? To read more: I was under the assumption that configurable products pull its configuration ...
3
votes
0answers
313 views

What is the best size (dimensions) for product photos for front page and category pages?

Magento 1.9.1 Porto theme I have installed the Porto theme in my Magento 1.9.1 store. I have 8 rows of products on the front page (4 products per row). Now the front page as well as all the category ...
3
votes
1answer
2k views

Magento2 Product import (image filenames)

I'm not sure that this is a bug, as it's intentional from the looks of it, but ... I'm working on a migration from Zencart and the original site's media folder has been downloaded and we've written a ...
3
votes
2answers
499 views

Magento2: How to limit maximum images per product?

I want to limit 5 images per product at backend. So admin won't be able to upload more than 5 images. How can I achieve this, any idea?
3
votes
0answers
247 views

Product image disappears on product page when using a custom page layout

I'm creating a custom theme on Magento 2.1. I create a custom layout for the product page in app/design/frontend/<theme_name>/base/Magento_Catalog/layout/catalog_product_view.xml, here it is: &...
3
votes
0answers
266 views

Magento 2 - get order preview on success page with Product Image

i need order preview on success page with Product images in magento 2.0
3
votes
0answers
60 views

Change the size of the “Product Process Image”

The image displayed next to the Main Product image is being resized down too small. Where can I change the setting for this? I changed the size for the Product Process Image in the admin panel ...
3
votes
0answers
261 views

Problem importing images from a CSV file - Magento ver. 1.9.2.2

Magento ver. 1.9.2.2 I've been working on this issue for several days and have read numerous articles. I have uncovered a few clues but can't tell where the hang up is. Here is a link to a test CSV ...
3
votes
1answer
1k views

Serve resources from a consistent URL - 2 images URL for single product, same image

I have one image for all three small, base and thumnail. However, when I am uploading a product , and selecting three options, magento automatically takes this as 2 image URLS in 2 different folder ...
3
votes
1answer
2k views

Product images do not show on Category pages and do show on product view pages

There is a lot written about this kind of issues. but all do not seem to be the same as what we are experiencing. We have a big portion of products (so not all) that has product images not shown in ...
3
votes
2answers
2k views

How can we add/update a image path with own code without using addImageToMediaGallery()

Can we update a own defined product image path to database, I am adding products with own custom code.I want to add image database without help of ->addImageToMediaGallery() Is it doable?? ...
2
votes
0answers
36 views

Magento 2: How to enable SVG image for category custom image upload

I need to enable SVG image in upload for custom module. I have tried all the solution which i have found. Here is my code: /etc/di.xml <type name="Magento\Cms\Model\Wysiwyg\Images\Storage">...
2
votes
0answers
34 views

Thumbnails not appearing in either back or front end of store

Weird issue. I uploaded images to each of my products and until recently, the thumbnails appeared both on the back end and the front end of Products. However, lately, that has changed and now even ...
2
votes
0answers
23 views

Magento1 admin product image upload issue

I have installed Magento1 Patch SUPEE-8788 in my local system. But I have an issue, in Admin Panel, Product Image Upload Browse Button is Not Working. 1 File: app\code\core\Mage\Adminhtml\Block\Media\...
2
votes
1answer
312 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, ...
2
votes
1answer
60 views

Magento 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
2answers
235 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
0answers
12 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 ...
2
votes
1answer
480 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
0answers
16 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.
2
votes
1answer
280 views

Magento 2 TypeError Undefined products images not displaying / js not loading

At home page, product category view and product detailed view page images are not loading / displaying at firefox and less frequently at chrome. I am using magento 2.2.6 upgraded from 2.2.2 and porto ...
2
votes
0answers
72 views

Magento 2.2.2 product image not updating

We have a magento 2.2.3 based website and a bunch of configurable products. Now we just tried to update the base image of the parent/configurable product we saved it and cleared cache and we see the ...
2
votes
0answers
249 views

Upload image with Ajax in M2

In my custom module i am trying to upload images. I am able to upload images with the help of this link https://webkul.com/blog/how-to-upload-image-in-magento2/ But is there any way where we can ...
2
votes
0answers
54 views

Programmically deleting product image that exist on multiple stores

I have followed the following post Magento2: How to remove product images programmatically? which looks like it should work. However from digging into the Magento 2 code it looks like the image won't ...
2
votes
0answers
475 views

Magento 2 How to add Magnifier to product list page?

I have enabled Magnifier to product detail page from theme etc/view.xml <var name="magnifier"> <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)--> ...
2
votes
1answer
555 views

Magento 2.2 Product Images Duplicated

I have a lot of SKU's and a lot of SKU's share some pictures. For eg - Product A, B and C have 2 common photos. When I upload the common photos through the panel, It uploads the same image to the ...
2
votes
1answer
532 views

(Solved) Magento 2, Add product image in all transaction emails(shipment, invoice, credit memo)

I have managed to add products images in new order email using this solution: Magento 2 product image in new order email Unfortunately this piece of code is not working for other transactional emails:...
2
votes
0answers
229 views

product images not upload from backend in magento 1.9.3.7

product images not upload from backend in magento 1.9.3.7 it show only Complete but not display image