Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [product-images]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Magento 2 Css and images are not loading in production mode

I've have changed mode from developer to production,then cleared cache,deployed but css and images are not showing . Image's status is 404 and stylesheet's Refused to apply style from because its MIME ...
0
votes
0answers
12 views

magento1.9 can't save and remove gallery image

I need to manage the product gallery but the save button and the remove radio button are not working, it did not insert data or delete data in SQL. I've disabled the cache. Any idea?
0
votes
0answers
26 views

Magento 1.9 remove unused product images

I tried this bash script to remove all the unused product images, but unfortunately it remove the used images also. database=name for path in `find . -type f $1`; do extension="${path##*.}" ...
0
votes
0answers
7 views

Magento 2.3.1 :: Orphaned attribute records

Recently we had an issue with the number of files found in the pub/media/product/cache folder causing us to run out of inodes. In our investigation, we found a lot of duplicate images in the folder. ...
0
votes
1answer
28 views

“catalog:images:resize” on multistore, run on specific store only?

Surely this is possible Magento...💩 I have searched the internet for a while and read the docs here and here. I have a multistore setup. One of the stores has billions of products. One of the ...
1
vote
1answer
23 views

product image in png format showing black background on product detail page

I have uploaded a ".png" format image for a product at backend and it shows black background at detail page at front. I want to show it as it is with png format and with no background. I have tried ...
0
votes
0answers
13 views

Magento2.3 get product name using ProductCollection->GetData()

i'm working on Magento2.3 and i need to work with my product not as object but as array. So i use getData function and everything goes right. $array=$_productCollection->getData(); but GetData ...
2
votes
1answer
57 views

Add images to product description content programatically in Magento2

I want to add images to my product description content block but I don't want these specific images to appear in the product gallery ('image', 'small_image', 'thumbnail'). To add regular images I do ...
0
votes
0answers
15 views

Magento2 : How to apply different image size in multiple categories?

I want to show different size images on multiple categories. let suppose I have 3 categories : - cat1, cat2, cat3 I want to show images as below: => cat1 want to show 240 x 240 images => ...
3
votes
3answers
133 views

How can I add one image to ALL the products in Magento 2?

How can I add one image to ALL the products in Magento 2 ? I found an answer for Magento 1.9, but I need the code for Magento2. Not a placeholder, I already have several images on each product and I ...
0
votes
0answers
13 views

M2 - Weird images duplicates

Yesterday I was looking at the disk usage of a Magento store and it was using 51GB of storage, today I looked again and now it was 75GB... Then I began to think, that's not good. So I started looking ...
0
votes
0answers
19 views

Magento2: How to active the particular image for carousel

I have added the owl carousel for custom product gallery with following configuration $('.owl-gallery').owlCarousel({ loop: true, margin: 10, nav: true,...
0
votes
0answers
19 views

Magento2 Rename multiple product images during import

I need to change the name of the product image during product import. I am using Magento 2.3 CE I would really appreciate any comments and solutions to this issue.
0
votes
0answers
22 views

Magento2: Gallery Customisation

I want to display three images instead of displaying a single product image in the gallery. Is there any possibility? Thanks.
0
votes
0answers
11 views

Magento2: Customize product gallery carousel in magento2

I want to customize the product gallery on product view page. So, I need to display only 3 images on each gallery arrow click. How to do that. Thanks.
0
votes
1answer
21 views

Image thumbnail is not displaying when sharing product URL via inbox

When we share link for any product via inbox, image thumbnail is not rendered. This is the screenshot about issue: https://snipboard.io/AwDtXU.jpg https://snipboard.io/85kFXW.jpg Anyone help me this ...
0
votes
3answers
95 views

Unable to get Product custom image role in magento 2

i have created new image role name "tiles_images", i product listing page i want to show tile_image only , for this i have done below code but that seems not working i am using below code in my ...
0
votes
1answer
28 views

Cart page doesn't show the product image

My checkout cart page doesn't show the product images, I checked the pub/media/catalog/product/cache folder and the image via browser inspector, but they are never the same as you can see in the image ...
0
votes
0answers
17 views

Magento 2 Product page Fotorama thumbnail configure it to display 3 items per slide instead of 4

Product page, I would like show 3 thumbnail items per slide how can I achieve this: at the moment as example: the image above show 4 and bit I would like to set to 3 then the arrow should appear on ...
0
votes
0answers
11 views

The additional product images are showing as blured in vertical side bar in PDP page in magento 2

The additional product images are showing properly in the PDP page, What i have did: I have made changes in view.xml to display additional images as vertical in PDP page.(just replaced horizantal to ...
0
votes
2answers
30 views

Magento 2 : Automatically rating for product has image

Automatically add four stars on the results page, products page, for all products that do have an image. (Use the database direct to update the stars for the SKUs that have image_count = true) Use ...
0
votes
1answer
28 views

Migrated images not showing frontend and backend both

Hi I have migrated my magento 1.9.2 to 2.3.0 and migrated images manually whole media folder. But for some products images are not showing in frontend or even in backend. In admin panel product -> ...
0
votes
1answer
30 views

Magento 2 : Import product image with sku

I have a CSV file product image with SKU, I did import all product SKU in admin but not have an image. here is the CSV file I need import.
0
votes
0answers
24 views

Magento 2.3 color swatches with related products & upsell products?

I have added color swatches with related products using this code: <?php if($_item->getTypeId() == \Magento\ConfigurableProduct\Model\Product\Type\Configurable::TYPE_CODE){ $...
0
votes
1answer
28 views

Magento 2 : Import product with external image URL

I have a CSV file with image field is external image URL, how can I import it, hope anyone help me.
1
vote
1answer
22 views

How to change product image on swatch selection on related product on product view page in Magento 2?

I have color swatches on related products list on product page. I want to change product image on the basis of swatch selection on view page. How can I change image?
0
votes
0answers
12 views

Magento Not Upload Product Image

I try to upload the product image but it give error {"error":"$_FILES array is empty","errorcode":666}
0
votes
0answers
18 views

Magento 2 Image issues

I've been having an issue with getting the product images to load properly. I migrated the site from M1 to M2 and brought over all of the media files per the recommended methods. Some of the product ...
0
votes
1answer
24 views

Magento2 How to make Thumbnail zoom on click on product page?

Magento2 How to make Thumbnail zoom on click on product page?
1
vote
1answer
86 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/...
1
vote
0answers
18 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?
0
votes
1answer
50 views

Product image size issue - Fotorama - Magento EE 2.2.4

I have issue in image height calculation in fotorama in Magento EE 2.2.4. The image div(fotorama__stage)height is assigning by Script as inline css. It is happens in some products only. <div ...
0
votes
2answers
22 views

Create new VPS save images and file download on magento

My sites very large size with image and file upload. So, I would like to setup as CDN from another my server2 VPS from current server1 VPS. That server will be storage images and files upload. I ...
0
votes
0answers
69 views

Imags are not displaying on product-listing and product detail pages

I have exported and imported products in magento2.3.0 but images are not displaying on storefront. When i check the source-code in image path is loading but dont know why its not displaying. Working: ...
0
votes
0answers
28 views

Speed up image resize after upgrade

We have more than 10000 SKU's and we are upgrading to 2.3.2 So in order to display product images, I need to run catalog:images: resize witch takes 8 hours to complete. Is there a way to speed up ...
4
votes
1answer
76 views

Apply configurable product images to ours associated simple products Magento 1.9.x

I need to apply configurable product images to our simple product associated because I need to use simple products in another store where it will only show simple products and not show configurable ...
1
vote
0answers
36 views

Create image gallery programmatically

I need generate image gallery programmatically. I have near 1M products and product images import is too slowly. I created controller, which return image if it exists and generate images if it not ...
2
votes
1answer
69 views

Magento 1.9 Mysql Query to pull out data

I am kind of stuck getting data from magento 1.9. The solution i needed is mysql query so that I can collect all data in one table. The values in table i needed from different table are product id, ...
2
votes
1answer
77 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 ...
2
votes
1answer
47 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 ...
0
votes
0answers
27 views

Magento 2 Image helper resize categories images in phtml

In Magento 2 If I want to resize the size of a product image I can do the following and it's working perfectly. $imageUrl = $this->helper('Magento\Catalog\Helper\Image') ->init($...
0
votes
0answers
22 views

Magento 2.3.2 Set Product Image Role Per Store View

I want to parse my product data and ensure all child products in each store view have swatch_image, image, small_image, thumbnail image roles set to the current image. I have tried $_store = $this-&...
0
votes
0answers
19 views

Catalog Images Cache Issue from 2.2.3 to 2.3.2

I`m having an issue with Flush Catalog Images Cache functionality in magento 2.3.2 . I am trying to upgrade from Magento 2.2.3 enterprise (currently) to Magento 2.3.2 enterprise . Some of the steps ...
0
votes
1answer
67 views

Magento 1.9: Product image popup window

I need a product image popup on my Magento website. So I see this extension https://marketplace.magento.com/swissup-tm-easylightbox.html and installed it. But it is not working. I want product ...
0
votes
0answers
40 views

CDN add white space to main product image view magento 2.2.9

Any help will be great. When I use CDN in Magento for media, Magento adds white space to main product image. How can I resolve this issue? I am using custom theme Porto v318, varnish, nginx and ...
0
votes
0answers
30 views

Bulk Image Import

As the title says, I've ~5k images to import. What's the best approach? I'm not thinking in using CSV file, so what should I do? I'm thinking in coding a module that iterates through all my products ...
0
votes
0answers
36 views

Magento 2.3.2 - Product import duplicates images

Running Magento 2.3.2 on PHP 7.2 CSV being uploaded has one image for base_image, small_image, thumbnail_image, swatch_image, additional_images. When products are imported, product images are ...
0
votes
0answers
36 views

Magento 2 Image Cache Files are not Updating in Product Catalog

I'm currently experiencing an intermittent issue with my product images in my installation of Magento 2.3.2. Essentially I upload a new image to replace an existing image, the image updates in the ...
0
votes
1answer
10 views

Magento2.1 image importer

I want to import images into magento2.1 with default importer. My problem is that I added image folder into pub like this: pub/media/catelectronicpic/mobile/1.jpg pub/media/catelectronicpic/...
0
votes
0answers
36 views

How to remove duplicate product images programmatically magento2

How to remove the product's duplicate images programmatically.