Questions tagged [category-image]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Magento 2 How to upload and preview multiple images using category custom image attribute

I have created a custom image attribute for category and i need to upload multiple images and preview all the images. As of now i am able to select multiple images and store them in the database but ...
0
votes
0answers
31 views

Magento 2.3.2 - “A technical problem with the server created an error” category custom image attribute

I have created a module for custom category image attribute. But whenever I uploaded the image it's showing - A technical problem with the server created an error. Try again to continue what you were ...
0
votes
0answers
8 views

How to display category image with the label in the top menu in Magento 2.3

I'm new on Magento, I want to display the category image with the category name without using an extension, is it possible ? Thank you.
1
vote
2answers
37 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
0answers
17 views

Struggling in getting the category image in mega menu

We have customised our own mega-menu for our site. I can display the parent category, sub category and sub-sub category but not able to display the parent category image. I want show like below: ...
0
votes
3answers
53 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
1answer
49 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
1answer
46 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($...
0
votes
0answers
28 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($...
1
vote
2answers
71 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
1answer
35 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" ["...
2
votes
1answer
238 views

Something went wrong while saving the file(s)

After Saving category from admin side,Successfully saved Category. But in the exception.log file I got following error. "exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: ...
0
votes
1answer
18 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?
4
votes
1answer
166 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 ...
4
votes
1answer
186 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 ...
0
votes
0answers
152 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->...
1
vote
0answers
814 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 ...
2
votes
2answers
747 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....