Skip to main content

Questions tagged [thumbnail]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
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
2 answers
2k views

Get Category image url in magento 2

Can any body tell me how can we get The Category thumbnail image url and Icon image url to display image on frontend in magento 2.3.2
0 votes
1 answer
31 views

get Image thumbnail Resize in custom Class magento 2

I am getting my images in the array. I need to check the if image in the array is empty then it should be replaced with the thumbnail image. Here is my code : if (is_null($imageData->getData('...
0 votes
0 answers
12 views

Product Image Thumbnail Size

The thumbnail image of some products are not uniform leading to weird size differences that throw them off. Here's an example to see it: https://www.jadeed.store/categories/books/dictionaries.html ...
2 votes
0 answers
70 views

Magento2 how to display video as a thumbnail image in admin grid

I want to display video as a thumbnail in the custom admin grid. you can get the reference from the below screenshot. https://i.imgur.com/UTBHZvM.png
0 votes
0 answers
25 views

Magento2 Image Roles does not work sometimes

I am using below codes for the image save. It is working usually, but it doesn't work sometimes, it doesn't select image roles. How can I find the errors? Because Magento2 doesn't give an error. $...
0 votes
3 answers
2k views

get thumbnail image in product collection magento 2.3

get thumbnail image in product collection magento 2.3 but base image get how to get thumbnail image phtml file <?php $ProductImageUrl = $block->getUrl('pub/media/catalog'...
1 vote
3 answers
2k views

Change the size of the swatch image

I'm looking to change the size of the default swatch thumb in the layered navigation. I've tried changing the view.xml from the theme and running: php bin/magento catalog:images:resize The command ...
2 votes
2 answers
2k views

Magento: Display Configurable Product Image to Match Filter Selection

Example: I have a configurable product, it has 2 colour options - green yellow and white blue. It is located in t-shirts category. When I navigate to t-shirts category on my website I see my products ...
0 votes
1 answer
165 views

how to create a widget to select the image of a product

I have a widget that selects the product but it returns the sku and the id of the product, and what I need is the image or a thumbail. any idea what block I call because for this I make the call to ...
1 vote
1 answer
902 views

Deleted the Product image, but still the image exists in the product grid in magento 2

I have deleted the product image using the following code $imageProcessor = $_objectManager->create('\Magento\Catalog\Model\Product\Gallery\Processor'); $images = $product->...
1 vote
1 answer
1k views

Shopping Cart Thumbnails not showing

Have a little problem with my M2 V 2.3. In the shopping cart the thumbnails image is not displayed. I can see that it gets a 404 for the image and when I look ind the pub/media I can not find the ...
6 votes
3 answers
2k views

How To Display Single Image Thumbnail in product detail page Magento 2

I want to know how can I display thumbnail image, if the product has only one image . (product detail page)
3 votes
2 answers
890 views

Replace thumbnail with small image in Admin Catalog Products

I'd like to display "small image" in place of "thumbnail image" for each product in magento administration Catalog > Products. I tried editing file /vendor/magento/module-...
3 votes
2 answers
1k views

How to add "click" or "change" event on product thumbnail images in frontend?

I am trying a "click" or "change" event on fotorama thumbnail images. While clicking the thumbnail images I need to fire a "click" or "change" event. I have ...
1 vote
2 answers
559 views

Thumbs not showing in 'insert file' in admin

For backend - both in the 'Media Gallery' and 'insert file' the thumbs are not being shown. Broken links are being shown. I have tried resetting all the file and folder permissions - no change I ...
0 votes
1 answer
299 views

Product Thumbnails Showing up in Admin but not Frontend

I have small_image, thumbnail and base assigned for our product thumbnail images in the admin (which are visible there) which should be showing up on the frontend category pages. The placeholder ...
0 votes
0 answers
115 views

Assigning Thumbnails via Magento REST API

I am trying to add thumbnail images to SKUs via REST API. However, the image is added but does not show as a thumbnail. Please see my POST request below https://url.co.uk/rest/V1/products/231877/media ...
1 vote
2 answers
5k views

Magento 2 Product base image and thumbnail images are not showing!

Product images are not showing on product detailed page. Small images are showing on listing page but base images and thumbnail images are not showing on the product page. I have given 777 ...
2 votes
2 answers
800 views

Magento 2 Thumbnails missing in store view (language)

I'm using Magento 2.3.1. We have 3 store views for multi language. One store view (German language) doesn't display category thumbnails correctly. The other do not have any problems. We tried ...
2 votes
1 answer
5k views

Magento 2 : How to get product get images for thumbnail?

Friend please help me how to get product images and thumbnail images.
1 vote
2 answers
2k views

Magento 2 -All thumbnails not display

I installed Magento in XAMPP, and the installation is fully complete. However, when I go to Fontend and Backend, the loading is very long, also all the thumbnails crash. I tried install again, but the ...
1 vote
0 answers
1k views

Product Category Thumbnail Image Not Working

I'm running in an issue on Magento EE 2.2.3 with category thumbnail images. Normal category images seem to upload just fine, and (as shown in the two pictures below, first shows it lets me upload the ...
0 votes
1 answer
320 views

Customize mini-cart - delete image and edit button

How to remove the picture and edit button from the mini-cart without using CSS Expected Result
0 votes
2 answers
626 views

How to get the product image in Magento 2

I want to get the product image in Magento 2. $collection = $this->productCollectionFactory->create() ->addStoreFilter($this->_storeManager->getStore()->getId()) ...
2 votes
0 answers
101 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 ...
0 votes
1 answer
2k views

Images are blurry, loading "smaller" then needed

We are having issues with the Upselling Slider. This is the code I use to get the product thumbnails: <?php $_imagehelper = $this->helper('Magento\Catalog\Helper\Image'); ?> <?php $...
4 votes
5 answers
20k views

How to get a category thumbnail or Image?

I am stuck at this point. I want to display a grid of categories thumbnail/image var_dump($_category->getData('thumbnail')); return NULL Even when I do var_dump($_category->getData()); here is ...
2 votes
0 answers
31 views

What renders the gallery images? Gallery returns thumbnail versions

I'm currently making a M2 site and I'm fairly new to the platform. I'm trying to make it so that people can customize their product. I found this extension: https://github.com/develodesign/magento2-...
0 votes
2 answers
132 views

Issue in Upgrading Magento2 from 2.2.8 to 2.3.3

I have upgraded magento 2 from 2.2.8 to 2.3.3. After upgrading, configurable product thumbnail images are not loading in the frontend. When changing the configurable variations, images are not ...
1 vote
0 answers
46 views

Add transparancy in ->backgroundColor(array(0, 0, 0))

I want to add Transparancy in this code line. I'm using Magento 1.9.3.10. I already tried ->backgroundColor(array(0, 0, 0, 0.4)) but this does not seem to work. It just show's black background. Full ...
3 votes
2 answers
5k views

Magento 2 Change Minicart Product Image from thumbnail to regular image

After editing the minicart for a couple of days now i've noticed that the images are smaller versions of the images that you would see on the product pages. This means as i'm upscaling them to fit a ...
0 votes
1 answer
910 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 ...
1 vote
1 answer
366 views

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

Magento2 How to make Thumbnail zoom on click on product page?
0 votes
0 answers
663 views

Magento 2: Wrong product thumbnail image on search results page

I've noticed in both the backend catalog search and frontend search that incorrect product thumbnail images are being displayed for certain products if they do not have an image associated with them. ...
0 votes
1 answer
57 views

Gallery thumbnails are not generated

We need to import a lot of products from different vendors (about 30000 products). For some products the thumbnails are not generated in the front end. I tried clearing the cache, clearing static ...
1 vote
0 answers
264 views

Thumbnail images not changing with main image in magento 1.9

I am having issues with configurable swatch. When click on color at product detail page main image changes but thumbnail isn't changing. No custom extension used, Using default color swatch of ...
0 votes
0 answers
189 views

The gallery images repeated in PDP page

In My PDP page, the thumbnail images which is shown on the bottom side of the product image are displayed twice Please refer below screenshot, It repeats the product image twice in bottom
1 vote
2 answers
203 views

How to show thumbnail selected file of custom option?

Could you advise How to show thumbnail selected file of custom option?
1 vote
0 answers
54 views

How to show product labels on Thumbnails

Have labels that show on product images on the category page and product page but they do not show on thumbnail images when doing a product search. How can get the product labels to show on the ...
1 vote
0 answers
884 views

Magento 2 : How to fetch product thumbnail images in admin grid?

<?php namespace Magneto\PopupQuestion\Ui\Component\Listing\Column; use Magento\Framework\View\Element\UiComponentFactory; use Magento\Framework\View\Element\UiComponent\...
0 votes
1 answer
346 views

Where can i edit admin thumb size?

I already lost many hours without success. Does anyone know where we can increase admin products thumb grid? By default it generates a cached picture with 75px but limited to 55px in grid. Many ...
0 votes
1 answer
148 views

Image Thumbnail in product not selected after product import

I have problem with product thumbnail. When imported csv file of products I forgotten to add thumbnail column. So because I imported several files of products, I exported all products in one file and ...
1 vote
1 answer
416 views

How to display Name, Thumbnail Image, Price, Add-to-cart Button On CMS PAGE?

I need to display all my products like, Sku Name Price Thumbnail Add-to-cart(Button) How can i get all above details on CMS Page? Note : Add-To-Cart Error
13 votes
3 answers
12k views

Magento 2 Rest Api get Thumbnail Image url

How do we get the url to thumbnail image of of a product through rest API. /V1/products/{sku}/media would get us the relative url such as "/m/b/mb01-blue-0.jpg" and the image url would be baseurl/...
2 votes
4 answers
3k views

magento 2 catalog:images:resize - Notice error

I have strange error in magento when trying to regenerate thumbs: $ php bin/magento catalog:images:resize Notice: Undefined index: Magento\Catalog\Model\Product in /Applications/MAMP/htdocs/mini-...
0 votes
2 answers
872 views

Uploaded Image doesn't show as base image in frontend and thumbnail at backend (Magento 2.2.3)

Suddenly I'm having an issue regarding uploaded images. They are on the backend (Images And Videos ) but does not show as a base in frontend and thumbnail at the backend. After uploading an image also,...
1 vote
1 answer
2k views

Fishpig Wordpress Magento fallback featured image / post thumbnail image [closed]

I use Fishpig extension to show my blog posts in Magento. In Wordpress with below code i show a custom fallback-image if there is NOT a featured image set (in Wordpress admin). <?php if ...
2 votes
2 answers
2k views

Product Thumbnail showing Placeholder in Frontend - Actual Image in Backend

I'm not sure when this started, but all thumbnail images on all products in all stores/store-views are defaulting to the placeholder image: I have checked permissions, file paths, and uploaded new ...
0 votes
1 answer
3k views

magento 2.2.2 - How to transfer the product thumbnail to the left side

How can i set thumbnail images to the left side? I set thumbnail image to vertical in view.xml but it displays a thumbnail image right side.