Questions tagged [product-images]
Denotes questions related to product images configuration, management and modifications.
559
questions with no upvoted or accepted answers
8
votes
2
answers
648
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 ...
7
votes
3
answers
3k
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
0
answers
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 ...
5
votes
0
answers
2k
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.
...
5
votes
2
answers
4k
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
1
answer
2k
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
0
answers
985
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
1
answer
1k
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
0
answers
147
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">
...
4
votes
2
answers
2k
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
1
answer
113
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
1
answer
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
1
answer
432
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-...
4
votes
1
answer
2k
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
1
answer
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
0
answers
446
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
1
answer
231
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
0
answers
481
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
0
answers
165
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
0
answers
318
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&...
3
votes
1
answer
664
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
1
answer
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
0
answers
580
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
0
answers
249
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
0
answers
662
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
2
answers
5k
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
0
answers
762
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
1
answer
730
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
1
answer
422
views
What is the REST API call to create a product with the image already hosted on a CDN
Background:
All of our product images are hosted on Amazon S3. Magento is going to be hosted in a load balance / multiple instance Docker setup. The hosting environment is only going to provide the ...
3
votes
0
answers
331
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
0
answers
61
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
0
answers
298
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
0
answers
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
1
answer
2k
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
2
answers
3k
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
1
answer
959
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
0
answers
25
views
How to downalod the format image in the datafeed
I would like to download the format of the images in my data feed so that I can see which ones are the wrong size.
Does anyone know how I can do that?
2
votes
0
answers
252
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
0
answers
39
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
1
answer
162
views
How to make product image required and minimum 1 or maximum 6 images
I am using Magento 2.3 and creating a product doesn't need any image. How do I make it required?
2
votes
1
answer
961
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
1
answer
398
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
1
answer
2k
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
1
answer
371
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
0
answers
362
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
0
answers
96
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
0
answers
107
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
2
answers
2k
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 ...
2
votes
1
answer
1k
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
0
answers
20
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 ...