Questions tagged [category-image]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
2k views

Category image is not getting displayed in top navigation menu after Block override

Im trying to display the category image in the top navigation, If I use the following snippet in the core class, images are displayed, but not using my \app\code\Ibnab\MegaMenu\Block\Html\Topmega....
0 votes
1 answer
25 views

Issue in Mobile-View Category--after Overriding Block \Magento\Theme\Block\Html\Topmenu _getHtml() Function

*For adding Images in Top Menu Category,I have Override the _getHtml() Function from Block\Magento\Theme\Block\Html\Topmenu. *It's Working fine,But the issue is,On Mobile View for every ...
0 votes
1 answer
295 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 ...
3 votes
1 answer
4k views

Something went wrong while saving the file(s)

After Saving the category from the admin side, it successfully saved the category. But in the exception.log file I got the following error. "exception":"[object] (Magento\\Framework\\...
4 votes
1 answer
780 views

Magento2 PWA images missing - development environment

I have followed below URL. https://webkul.com/blog/magento2-3-pwa-studio-setup/ Setup is successfully installed and my local environment is connected to PWA application, but all of my images ...
0 votes
1 answer
901 views

Category image full width with title centred

I'm trying to redesign a category page to display the category image full width with a max height and have the category title displayed in the same box centred on the image. I've managed to move 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
34 views

Category Image Information not displayed once image uploaded after version upgrade to 2.3.3

I have one strange issue previously i was using magento 2.2.2 version in which category image upload works perfectly, after upgraded to magento 2.3.3 version image was uploaded first time but after ...
0 votes
1 answer
215 views

Magento 2.3 Cloud Enterprise - Not able to upload any picture/image at all (error messages)

I'm very new to Magento and I have a functional background. I have read and followed all Magento commerce functional manuals on how to configure the Backend (creating products, customers, adding ...
0 votes
1 answer
185 views

issue on saving category image in backend

After saving category image in backend, on inspect that element src comes with rootfolder/pathof the image .so that category image is not displayed on the front end .
4 votes
1 answer
437 views

Magento 2.3: category image gets overwritten

I came across an unexpected behaviour in Magento 2.3 Adminhtml area. Uploading an image with the same name of another already present in the upload category folder replaces the old the one with new ...
1 vote
2 answers
142 views

How to load category image in frontend?

We have created a megamenu and want to load the category image on the menu. I'm not sure how to load that. As of now, we have just hardcoded the image. Below is the code: <?php namespace ...
0 votes
1 answer
220 views

Issue in saving Category images in fresh installed Magento 2.3

I'm facing issue in saving category Images in default setup of Magento 2.3. I've not made any customization and didn't install any custom extension. I got this error: A technical problem with the ...
0 votes
3 answers
604 views

How to display category image in Megamenu?

I want to display the category image in mega menu(which we have created using html) but not success. I have no idea, how to make this work so I'm here and hoping someone can help me with this. ...
0 votes
1 answer
377 views

How to load Category image in top menu?

I have loaded the category and sub-category, now I need to load image as well but I'm not sure how to do that. Below is the code I have used: In block file: public function getStoreCategories($...
1 vote
2 answers
735 views

Enterprise Magento2.3.2 Unable to get Category Image Url Programmatically

<?php namespace Vendor\Module\Controller\Index; use Magento\Framework\App\Action\Action; use Magento\Framework\Controller\Result\JsonFactory; use Magento\Framework\App\Action\Context; use Magento\...
0 votes
1 answer
585 views

Category Image Not Showing on frontend in magento2

I Am Using Below Code When i Debug by Zend_Debug::dump($sub_category->getData()) Then image showing 'null' value. Image uploaded in admin array(30) { ["entity_id"] => string(2) "88" ["...
0 votes
1 answer
105 views

How to get category image based on category ID?

I am trying to get an image which is uploaded for the category. & also I have category id and want to load complete details of that category based on category ID. How can I achieve this?
0 votes
0 answers
413 views

some category image not showing magento 2

My Code is $_obj = \Magento\Framework\App\ObjectManager::getInstance(); $category = $_obj->create('Magento\Catalog\Model\Category')->load($cat_id); $fullCategoryPath = $category->...