Questions tagged [product-images]

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

567 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
619 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 ...
6
votes
3answers
2k 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 ...
6
votes
0answers
2k 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
968 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
3k 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 ...
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
1k 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
720 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
1answer
943 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 ...
4
votes
1answer
874 views

How to show all product thumbnails as a grid (no carousel/ribbon) in product page on Magento 2?

I've been searching for an answer for a while but maybe I'm not searching correctly... We're upgrading to Magento 2 (2.3.2 to be exact) and we're modifying our theme based on Luma. The product page ...
4
votes
1answer
88 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
2k 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 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
2k 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 ...
3
votes
0answers
89 views

Assign Image Role to Multiple Products Images

I have added image role by using this code namespace Vendor\Module\Setup; use Magento\Eav\Setup\EavSetup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use ...
3
votes
0answers
659 views

How to delete specific product images from Magento 2 database and physical images from folder?

Deleting selected product / SKU images from Magento 2 database and the physical images files from the media product catalog folders which are dynamically created by Magento during image upload. ...
3
votes
1answer
47 views

Magento 2 image resize command error images are not same

Magento 2.3.4 run image resize command give error images are not same size domain/pub/media/catalog/product/m/e/megilbert.gif @ error/layer.c/OptimizeLayerFrames/1023
3
votes
0answers
46 views

How to retain exact Product Image Quality

I have modified view.xml to increase the Large image dimensions. <image id="product_page_image_large" type="image"/> <image id="product_page_image_medium" type="image"> ...
3
votes
0answers
387 views

Magento 2: Difference between flush catalog images cache and manually deleting files

Is there a difference between using the Flush Catalog Images Cache button in admin and removing the files in pub/media/catalog/product/cache via command line?
3
votes
0answers
59 views

Detect old cache images in Magento 2

Due to some mistake we ended up in cached thumbnail images for old versions of our images in Magento 2.2.8 shop. How can we detect those images? Is there a build in function for this? We want to ...
3
votes
1answer
584 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
2k 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:...
3
votes
0answers
434 views

When I deselect the swatch once after selected, the product image is not displaying in magento 2

When I deselect the swatch once after selected the product image went blank when I inspected and the image src went undefined in Magento 2.2??
3
votes
1answer
288 views

getImage method always return placeholder image - Magento2.1.7EE

One of my extension using the below code to retrieve product image in listing page. $productImage = $block->getImage($_product, $image); getImage() method presents in vendor/magento/module-...
3
votes
0answers
243 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
582 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
1answer
4k views

$_FILES array is empty while uploading product image in Magento 1.7 admin

I am getting error $_FILES array is empty while trying to upload an product image in magento 1.7 backend. 2 days ago I installed patches from 5344 to 8788. How can I rid off this problem. please ...
3
votes
0answers
645 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
4k 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
987 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
1answer
606 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
302 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
286 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
0answers
1k views

Reuse same product image for multiple products

I use for some products the same 'product-image'. How do i reuse the same image for multiple products?
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?? ...
3
votes
1answer
712 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 ....
2
votes
0answers
26 views

Resize different images to square without white space

I am trying to force all the images in the product grid to square. The database serves images from ultra wide to ultra high ratios. i'm trying the following: $productImage = $imagehelper->init($...
2
votes
0answers
29 views

Product page images cache generation issue after Magento upgrade

Product page images are showing thumbnails instead of product images. On the same page related products images are showing fine. Only products images are having issues. The image url is accessible but ...
2
votes
1answer
164 views

Magento 2: Product zoom magnifier is not working properly

I have used deafult Magento's product zoom magnifier on our website and want to show the zoom window within the image container but its not working properly. Its not zooming well and I'm not sure what ...
2
votes
1answer
72 views

Images URL is getting broken at frontend in mobile view

I created custom attribute with name Product Header Info and added the following content in the text editor: I am getting broken URL at frontend.When I am inspecting the image it is showing something ...
2
votes
1answer
1k views

Magento2.3.1 IN porto theme product image on detail page not loading

In magneto2.3.1 - I have used porto theme I notice some images not generated cache inside, I apply all commands on my live site, but not getting any error and also I apply image resize command php bin/...
2
votes
1answer
59 views

Magento 2 : How to set images to product from a custom folder (Not to use pub/media folder) programmatically

There is a custom folder "productimages" in root path "localhost/magento/productimages". In this folder "productimages", there are lots of images. I want to save that images in products using object ...
2
votes
1answer
370 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
253 views

How to load simple product images on configurable product in magento 2?

How we can show the images on page when load of simple product of configurable product. By default configurable product image show but what i want when we click on color option then its associated ...
2
votes
0answers
54 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
67 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
2answers
1k views

Magento2-Product PNG Image is resizing as Transparent due to which it's showing as blank on Product/Category/Product Admin Grid Page

PNG product image is not showing on the front end. When i checked for the reason then found this format is resizing but always resized a blank image due to which it's not showing(as we know that to ...

1
2 3 4 5
12