Questions tagged [thumbnail]

The tag has no usage guidance.

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

How to show thumbnail selected file of custom option?

Could you advise How to show thumbnail selected file of custom option?
0
votes
1answer
531 views

Magento 2: How do I override the grid thumbnail preview copy?

Using 2.1.3 - I've added a thumbnail image in a column to my admin grid - I like the built in preview ability, but want to change the copy underneath the image in the preview window. It looks like it'...
1
vote
2answers
5k views

Get the category thumbnails instead of image on sub category page

I am currently getting category image with the following code: <li class="item <?= $class ?> sub-cat-items"> <a href="<?php echo $_category->getURL() ?>" title="<?...
2
votes
0answers
738 views

Image Thumbnail not showing in Magento 2.1 admin panel

Im working on a custom module in magento 2.1 which has category attribute to upload thumbnail image from Dashboard>Products>Categories . When i try to upload an image, the preview is shown and the ...
3
votes
1answer
2k views

Magento 2 : Admin grid with thumbnail field

I have added a custom admin grid using ui component, now I want to add a thumbnail field in the grid. Please help me to do the same..
1
vote
2answers
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
2answers
1k 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 ...
1
vote
1answer
74 views

After upgrading to Magento 1.9.3 none of my product thumbnails are showing in the backend

After upgrading to Magento 1.9.3 none of my product thumbnails are showing in the backend. My old and new images aren't showing, folder permissions are set to 777. All was fine in the previous ...
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 ...
0
votes
1answer
467 views

Fetch scaled product thumbnails through REST API

In Magento 2 I see that the REST API only provides the path to the originally uploaded images. I would like to be able to use Magento's scaled thumbnails directly in my headless store front. Ideally ...
0
votes
1answer
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 $...
0
votes
1answer
253 views

Where is the code to fetch the 'more views` images?

In magento1.9.2.4 where is the php code to fetch the thumbnail images in more view section in product details page?
12
votes
3answers
9k 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
2answers
5k views

Is there a way to add image alt tags to all the images? [closed]

I'm looking to add alt tags to all the images on a Magento website, is there a way to do this without going through each individual product and i want to include the alt tag in the thumbnails as well.
1
vote
0answers
1k views

Configurable Swatches Thumbnails not showing

I am using configurable swatches for a product. I want to configure just like the given link. Click to see the product But in my case the thumbnails are not showing. Every associated product have ...
1
vote
0answers
259 views

Magento 2 - Admin - Product Listing Grid

Requirement is - we have to change image of thumbnail in product listing of admin in magento 2. But we are not able to find how rendering is occurring. There is no template used for same we believe. ...
3
votes
3answers
187 views

Thumbnail in the new order e-mails

I'd like to show the product thumbnail in the new orders emails. I tried this code: <img src="<?php echo Mage:: getThumbnail('catalog/product_media_config') ->getMediaUrl($...
0
votes
1answer
573 views

How to display video as second link in thumbnail images

In product details page I have video related to the product along with the thumbnail images. The video always comes at the last. I want to display the video as second link in the thumbnail images. ...
1
vote
0answers
518 views

Configurable not showing thumbnail on product view page

Here is an example (it should be showing 2 images). I'm using Magento 1.9.2. The site has 2000 products, and on the product view page at every single configurable product, only the main image is ...
1
vote
1answer
449 views

Add Image Dimensions to Cache Thumbnail

According to gtmetrix.com, I need to specify image dimensions on /media/catalog/product/cache/1/thumbnail/300x300/...... I know what I need to do; in that I need to add 'width="300" height="300" but ...
1
vote
1answer
948 views

How can I change the quality of my thumbnails?

My product image looks very good but somehow magento is making my thumbnails looking pretty bad. How can I fix this problem?(Setting?/Code?) Thank you!
1
vote
3answers
274 views

Using local helper to get thumbnails in minicart

This is my code that imports the images from the server <?php class Bundle_LocalHelpers_Helper_Basic extends Mage_core_Helper_Abstract { public function getImageUrl($product) { $storeId =...
0
votes
1answer
177 views

find the products with only one image

we have some 1000 products in site. for some products we uploaded 1, for some2 .... for some 5 images. if we upload only one image, than for that image we selected small, base, thumbinal in backend ...
1
vote
1answer
348 views

Does Magento have the feature to change the color swatch on selecting a different color thumbnail?

I was checking if Magento 1.9.2 can change the color swatch on clicking over an image thumbnail of a different color. Is this feature configurable?
2
votes
2answers
819 views

Magento Cart: Thumbnail Images Don't Appear in Chrome or Safari

I'm unable to see my product thumbnails on the cart page when I use Chrome or Safari. They do however appear in Firefox. The line rendering these images is in app/design/frontend/my_package/my_theme/...
1
vote
1answer
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 ...
0
votes
0answers
117 views

Image always loading placeholder in e-mail template

I'm trying to create some fancy e-mail template for the productalert (when a product returns back in stock) in our website, but I'm not able to load the product image, in any method. In the /template/...
4
votes
2answers
8k views

Disable magento's compression of product images

I have created versions of my product images that look exactly how I want them to when viewed on the web. They are also at a size (weight) that I find acceptable. The problem is, once I upload to ...
0
votes
0answers
32 views

calling a categories thumbnail

I am trying to figure out the script on how to call magento's category thumbnail image to a specific location in my script can anyone guide me in the right direction with this? I thought it would ...
1
vote
2answers
1k views

Is there a way to change cart product thumbnails?

I'm using the following code to add cart products manually. The following code works fine, except that I would like to change the cart product thumbnails. Can some one help me with the thumbnail ...
7
votes
1answer
4k views

Show different thumbnail image set for each color picked in configurable product

Hi everybody (first post here), I've been trying Magento 1.9 display a different set of thumbnail images for every option in the color swatch, in a configurable product, but with no success. For ...
2
votes
1answer
4k views

How to regenerate product thumbs programatically?

I know there is a way to delete image cache: protected function cleanImageCache() { try { echo "Cleaning image cache... "; flush(); echo Mage::getModel('catalog/...
4
votes
0answers
639 views

Tapping thumbnail photo doesn't change large photo on mobile [closed]

I'm new to Magento so please bear with me. When viewing certain products, clicking/tapping on a thumbnail image does not reload the large image. Instead, when I click/tap on the images, the browser ...
0
votes
1answer
64 views

Sub category pictures into main category main content area

Hi Im building my first Magento store and I have come across the thumbnail in the category section problem. http://hotelsuppliesstore.com/index.php/bathroom.html Is the site I'm building I can seem ...
4
votes
5answers
19k 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
1answer
673 views

Category thumbnail at the menu [closed]

I'm Using a mega menu extension for magento. I need to display a thumbnail before the category link in top navigation menu. So far, I've tried adding getThumbnail() ?>" /> to my menu view file (top....
0
votes
2answers
582 views

Using thumbnails as link in Menu

I asked a question earlier about using subcategories thumbnails as links, but I looked back and saw that I explained myself quite badly. So I'll try again. Is it possible to make a thumbnail clickable ...
1
vote
2answers
1k views

Using Category Thumbnails as link

Is it possible to use the sub-category thumbnails as a link to the category? So that you can click the thumbnail instead of the text, if yes, can you then also remove the text?
2
votes
1answer
325 views

How rezise the thumbnails image in magento 1?

The magento thumbnails from the products are wrong format. (square) I want all the pictures an other format 2/3. How or where can i change this to get effect?
2
votes
4answers
4k views

how to get thumbnail of subcategory in a loop?

$category = Mage::getModel('catalog/category')->load('2')->getChildrenCategories(); foreach ($category as $cat){ $entity_id = $cat->getId(); $name = $cat->getName(); $url_key =...
1
vote
1answer
2k views

Add category settings and thumbnail programatically/in front end

I'm currently using the below to add a category programatically/in the front end <?php $category = Mage::getModel('catalog/category'); $category->setName('new_category'); $category->...
4
votes
2answers
4k views

Magento 1.9 thumbnail photo quality

I hope you can help me to resolve an issue I am experiencing with Magento, When I import product images, magento automatically decreases the size to fit a thumbnail size photo, which dramatically ...
1
vote
1answer
2k views

Magento Checkout Cart Image Thumbnail Resize White Frame/Border [closed]

In my checkout cart there is a white frame/border/background around my actual product image. it is because the image is not in the format 1:1 now my problem is, how to get rid of the white frame/...
1
vote
3answers
6k views

Magento 1.8.1.0 WYSIWYG editor is not displaying thumbnails in image manager

I am posting this for comments about the bug, and to help anyone who have the same issue. (answer posted by myself) When using the WYSIWYG editor and inserting images the image manager is not ...
3
votes
2answers
3k views

Programmatically Set/Change Thumbnail Image To Another From Gallery

I have a huge catalog of products which all have about 4 images per product with the same naming structure being something like "xxxxxx_FR.jpg" "xxxxxx_BK.jpg" "xxxxxx_FL.jpg" where the x's represent ...

1
2