We changed our privacy policy. Read more.

Questions tagged [product-images]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
886 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 ...
1
vote
2answers
1k views

Importing product images from URL problem

I'm trying to import some products from a csv with images that are stored on an external server. The images are saving to the var/import folder ok but they won't assign to the product. I'm using the ...
0
votes
1answer
3k views

How to add image roles programmatically in products Magento 2?

I am creating products programmatically. I am using below code to add product image.. Images are adding perfectly fine.. but image roles are not showing. Can anyone please help me to add image roles ...
0
votes
1answer
2k views

Magento use associated simple product image for configurable product

Is it possible to make Magento use the image of a simple attached product on configurable products? So if one of the simple products have an image, add it to the configurable product, else use ...
1
vote
1answer
1k views

Can I upload SVG images to the products on Magento 2.2.3?

Is it possible to upload SVG images to the products on Magento 2.2.3. I have read many topics related to my issue, but I didn't get a clear solution on that. Please let me know whether it's possible ...
0
votes
3answers
56 views

Running Magento bin commands without keeping in terminal

Is there a way to run these commands: php -dmemory_limit=12G bin/magento catalog:images:resize -a or php -dmemory_limit=12G bin/magento queue:consumer:start media.storage.catalog.image.resize without ...
1
vote
1answer
1k views

How to connect AWS S3 bucket images to my website

I have installed the extension https://github.com/thaiphan/magento2-s3/ for connect to S3 bucket. When I proceed to sync button then images not uploaded proper format on AWS S3. Please check the ...
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 ...
0
votes
1answer
1k views

Magento default zoom for product image is not working properly

I'm using Magento 2.2.3. The issue I'm facing is that the default zoom functionality is not working properly in the Product Image. Here's the link to our development site: http://37.152.57.114/min-...
1
vote
1answer
4k views

Magento 2 : Need to import product image from external url

I just need to import all product images from external url , can i able to do this using default functionality in magento 2. If yes, how can i use this product images external url during import csv ...
0
votes
3answers
84 views

How to make transparent product photos have a white background instead of taking on the background color of the website?

Magento 2.4.2-p1 Smartwave Porto theme I really love how the new Magento 2.x takes on the website background color with transparent images. The problem we are having is that some of our images have ...
2
votes
1answer
372 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">...
0
votes
0answers
8 views

i have import product images using csv but my product base image is nnot showing and other image is showing when we click on poduct image

this is our category page link please can you help me for this solution https://ebygghandel.se/komplettpaket.html?product_list_limit=48
0
votes
2answers
1k views

How to check the product image is available or not in magento 2

I am getting my product collection like this.to show i n a slider in home page. public function getProductCollection($categoryId,$filter_attribute) { $category = $this->_categoryFactory-&...
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 ...
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 ...
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
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 ...
1
vote
3answers
2k views

Magento 2 (Ubuntu) - Thumbnail image caching fails

I'm using Magento 2.1.0 with a bought with a template (SM Sawyer) on Ubuntu 16.04.1 Our products are being inserted/controlled by an external registration system. After this external source adds ...
0
votes
2answers
3k views

Get product image cache path sql

I need to get product image path with raw sql. Where does Magento store product image cache path? Table catalog_product_entity_media_gallery stores images but without the cache path (/2/0/20.jpg).
1
vote
1answer
2k views

Magento 2.2.5 - Unsupported image format on product detail page

I am using Magento v2.2.5 and I am getting error on product detail page. 1 exception(s): Exception #0 (Exception): Unsupported image format. Exception #0 (Exception): Unsupported image format. #0 /...
0
votes
2answers
38 views

Get product image on success page | Magento 2

I need to display product image in success page without using object manager which is bad practice.thank you
1
vote
1answer
937 views

Magento2: how to display small images of product collection data?

how to display small images of product collection data? Magento 2.0
0
votes
0answers
9 views

How to add DatePicker in Product Image Details at admin in magento 2

At product edit page, I'm trying to add image hide date "a custom field of datepicker" so far it shows the inputbox but not calender upon clicking the box. I have override gallery.phtml and ...
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 ...
1
vote
3answers
1k views

In Magento 2, Set base image as small image

I have nearly 40k products and all images have been set to small only. If I go into the backend and then set each image one by one to the base, it will take me forever. Is there any way to do it via ...
0
votes
0answers
10 views

Increse sharpness and contrast of images while uploading through csv in magento 2

I want to increase the sharpness and contrast of the images uploaded by Magento as according to a client, dull images should be converted to sharp images with a little boosted contrast. I found many ...
1
vote
2answers
1k views
2
votes
2answers
2k views

Imported image roles are lost on update in Magento 2

I use an import script to create products with associated images that are assigned to roles thumbnail and small image. It works well, products and images are imported and they display as thumbnail ...
2
votes
2answers
4k views

Magento 2 - Why is product image size & dimensions changed after upload?

When uploading new images to a product in Magento 2, it is not only decreasing the dimensions of the image, but it's increasing the image file size: Image Details Before Upload Dimensions: 1185 × ...
0
votes
1answer
23 views

Magento 2 open fullscreen/lightbox view when clicking on product thumbnails

I'm attempting to make it so that if I click on one of the thumbnails in the carousel it opens the fullscreen mode rather than the customer having to click twice to first get the image onto the stage/...
12
votes
3answers
6k views

How to delete unused images from my media folder?

I have more than 50,000 images in pub/media of products. But there are so many unused images so I want to remove all images which are not associated with any product. For Magento 1.9.x this can be a ...
0
votes
2answers
24 views

I want to add product description image in product detail page but don't know how. Can you help me?

I want to add product description image in product detail page but don't know how. Can you help me? It looks like this: Thank you!!!
2
votes
1answer
2k views

Magento 2 - Show catalog product image changes on mouse over

I would like to show product image changes on mouse over. I mean to call a second image during mouse over in magento2.
1
vote
3answers
2k 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 the ...
1
vote
1answer
22 views

Why Magento Cloud doesn't show product's image in the admin, but showing it in the frontend?

I'm adding product images in the admin panel, but after save it's not showing the image in the backend. The result is 200 and opening it in a new window the image is blank, what could I do?
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:...
0
votes
3answers
189 views

How to get a list of all products without images in Magento 2?

Is there a way of seeing a list of all the visible products on the fronted that do not have images linked to them.
1
vote
2answers
3k views

Disable magento image cache

Is it possible to disable Magento 2 image cache (it's consuming 41G), I want to use S3 for images since I expect our images to go over 2TB in few months, I am afraid generating cache on S3 may take ...
0
votes
0answers
13 views

Show "pure" product images from upload instead of cached or resized version - Magento 2

I am trying to customise my product pages but I am struggling with the fotorama / gallery options and files. I have a very limited amount of products so I have optimized all of the relevant product ...
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 ...
0
votes
1answer
43 views

Add image in order items view page

I need to add product image next to product name in module-sales\view\frontend\templates\order\items.phtml page without using objectmanager which is a bad practice.
0
votes
1answer
12 views

Image for product not showing on category page but it showing on product page

Magento CE 2.3.2 Uploaded new image and set base, small and thumbnail that image save product navigate on category page for that product image not showing and open image path in new tab , image not ...
0
votes
1answer
1k views

images loading too slow on product page

i am using the porto theme and images are loading slow even when they are small in size and the server is very fast. it happens in the product page.. what's the cause of this? is that related to the ...
2
votes
1answer
4k views

Magento 2 : set product image programatically

I want to upload a product along with product image, please suggest how to set path or upload image for a product. here is my code try{ $_product->setName($product["name"]); ...
2
votes
1answer
1k views

How can I get the second Image of a product in Magento2?

I want to use the first and the second image of a product, I'm now able to use the first one. But how can I reach the second image? Does the $_product->getMediaGallery('images') exists in Magento ...
0
votes
1answer
17 views

Magento 2 - 1 image stored for multiple configurations

I am working on a store that is comprised of mostly configurable products. I am importing and adding products from a suppliers API into the magento store. My command is running fine. However, I can't ...
0
votes
2answers
31 views

Getting Incorrect Image URL in Custom GraphQL Query

in my Custom Graphql Query, I am trying to get product image Url using Magento\Catalog\Helper\Image in this way $this->imageHelper->init($product, 'product_thumbnail_image')->getUrl(); I am ...
2
votes
1answer
1k views

Programmatically rename product images--existing images already uploaded--for SEO

I would like to create a simple script to programmatically rename existing, already uploaded product images (without having to re-upload them or use the admin backend). To process this in manageable ...
1
vote
2answers
4k views

Product image not showing into after upload to server - magento-2 data migration

Recently I have migrated the magento-1 (ver: 1.9.1.1) data to magento-2 (Ver: ver: 2.1.7) fress version using data migration tool. And it working perfectly in our local computer (localhost). I found ...

1
2 3 4 5
25