Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Category Images: Banner, Thumbnail and Menu Image

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: CATEGORYIMAGES1

  • Four image slots per category: banner, mobile, thumbnail, menu
  • Alt texts per image and store view, good for accessibility and SEO
  • Responsive with WebP, lazy loading and fast LCP
  • Fallback chain so an image slot is never left empty
Auf Lager
€99.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

Overview

Magento 2 category images: one picture for banner, tile, menu and mobile

Magento 2 stores exactly one image per category. That single picture then has to serve as a wide banner, as a small tile in the grid and perhaps in the mega menu. The result is distorted crops, oversized files on smartphones and alt texts that consist of nothing but the file name. This is where Mironsoft's Magento 2 category images come in.

Mironsoft Category Images is a Magento 2 extension for Hyvä shops. It offers four named image slots per category, editable alt texts per store view and a responsive output. Mironsoft sets the module up in your shop and connects it to your templates.

6 Features

Features of the Magento 2 category images at a glance

More than one image per category: with Magento 2 category images every use gets its own, properly cropped picture, without your team maintaining files twice.

Four image slots

Banner, mobile banner, thumbnail and menu image are uploaded separately.

Alt text per store view

Alt text and title per image and language instead of a file name as a substitute.

Responsive output

A picture element serves the portrait crop on phones and the wide banner on desktop.

Fast loading

WebP variants, lazy loading and fetchpriority=high on the banner for a good LCP.

Fallback chain

If the mobile image is missing the banner is used, if that is missing the category's default image.

ViewModel for templates

Menus, tiles and sliders fetch the Magento 2 category images with a single call, without custom database logic.

01Image slots in the category form

Magento 2 category images in the category form: four image slots instead of one

The category form gets an “Images” section with four upload fields. The banner is meant for the top area of the category page, the mobile banner for narrow screens, the thumbnail for tile and slider views and the menu image for the mega menu. Alt text and title can be stored for each image.

  • Drag & drop upload with a preview in the form
  • Alt text and title per image and store view
  • Unused slots simply stay empty
Catalog › Categories › Images
Banner (desktop)
tools-banner.jpg · Alt: cordless drill in use
Mobile banner
tools-mobile.jpg
Thumbnail
tools-thumb.jpg
Menu image
not set
Output on the category page
picture element per viewport width
from 768 pxBanner · 1600 × 480
below 768 pxMobile banner · 800 × 600
FormatWebP, JPEG fallback
02Responsive and fast

Responsive Magento 2 category images with WebP, lazy loading and a good LCP

The module outputs the images as a picture element with breakpoints and creates the required sizes and WebP variants through Magento's image processing. The banner receives fetchpriority=high while all other images load lazily. Width and height are part of the markup so the page does not jump while loading.

  • Breakpoints and target sizes configurable
  • Lazy loading for thumbnail and menu image, banner loaded with priority
  • Fixed aspect ratios against layout shift
03Fallback chain and cleanup

Fallback chain for Magento 2 category images: never an empty slot

If an image slot is empty, the module walks through a defined chain: the next matching slot first, then the category's default image, finally a placeholder or nothing, depending on the setting. When an image is replaced or a category is deleted, the module also removes the generated sizes from the cache folder.

  • Fallback order configurable per slot
  • Optional placeholder instead of an empty area
  • Generated sizes are cleaned up on replace and delete
Stores › Configuration › Mironsoft › Category Images
Mobile banner missing
Use banner
Thumbnail missing
Category default image
Everything empty
Output no image
Example: call in a template
Fetch menu image
$categoryImages->get($category, 'menu')
Result
URL, alt text, width, height, srcset
04Use in menus and tiles

Using Magento 2 category images in menus, tiles and sliders

Custom templates fetch an image with a single call, for example for the mega menu, a category tile overview or a slider. Existing modules for subcategory tiles or sliders can be switched to the new image slots. We handle the mapping together with you during setup.

  • The same image everywhere, maintained only once
  • Alt text arrives automatically in the matching language
  • No change to the Hyvä block system required
Use cases

Use cases: when several category images pay off

Fashion and lifestyle

Large mood images as banners, narrow portrait crops for smartphones and calm cut-outs as tiles in the grid.

Tools and technology

Factual banners for the category page and icons or detail shots in the mega menu that stay legible at small size.

Multilingual shops

Alt texts per store view: the Magento 2 category images of the German shop describe the motif in German, those of the English shop in English, using the same picture.

Promotions and seasons

For a season you only swap the banner of a category. Tile and menu image can stay unchanged if you wish.

Comparison

Standard category image vs. Magento 2 category images with the module

This is how the single Magento image and the extension differ in daily work.

CriterionWithout the moduleWith the module
Images per categoryOneFour named image slots
Mobile viewSame image as on desktopDedicated portrait banner
Alt textNot maintainable per imagePer image and store view
Load timeOne large image for all devicesSuitable size and WebP per device
Missing imageEmpty areaFallback chain with default image
Use in menus and tilesCustom solutions neededOne ViewModel for all templates
Setup

Setting up the Magento 2 category images in four steps

1

Inventory

We clarify which image slots you need and which categories get a mobile banner first.

2

Setup

Mironsoft installs the module, defines sizes and breakpoints for the Magento 2 category images and connects your templates.

3

Review

We check output, fallback chain and loading behavior on desktop and smartphone.

4

Handover

Your team uploads the images itself. A short walkthrough is included.

Legal and privacy

Accessibility and image rights for category images

Alt texts matter for accessibility and help search engines understand the motif. With the module they can be maintained per image and language. Whether you hold the necessary usage rights for an uploaded picture remains your responsibility. The module stores images exclusively on your own server and integrates no third-party services, so no visitor data is transmitted to third parties.

05How the purchase works

No download — personal setup instead

Mironsoft Category Images is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch with you after the purchase, install the module in your shop, and agree together on which image slots you use, what the fallback chain of the Magento 2 category images looks like and where the images (category page, menu, tiles) are rendered.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything you need to know about image slots, performance and the purchase process.

How can I store several images per category in Magento 2?
With Mironsoft's Magento 2 category images the category form shows four upload fields: banner, mobile banner, thumbnail and menu image.
How do I set an alt text for the category image in Magento 2?
The module offers a field for alt text and title per image slot, maintainable separately per store view.
Does the module replace Magento's regular category image?
No. The default image stays and serves as the last step of the fallback chain of the Magento 2 category images.
How do I get a separate category banner for mobile devices in Magento 2?
Upload a portrait image in the mobile banner slot. The output picks it automatically below the configured breakpoint.
Can I add more image slots?
There are four by default. Additional slots, for example for an icon, can be added during setup.
Are images resized automatically?
Yes. The required sizes and WebP variants are generated through Magento's image processing and cached.
Do the Magento 2 category images work with Hyvä?
Yes, the output uses a picture element with native lazy loading and needs no additional JavaScript.
What happens to existing category images?
They keep working unchanged. If you like, they can be adopted as the banner without uploading them again.
How does this differ from modules for subcategory tiles?
Tile and slider modules display categories. This module supplies the matching images for them. The two complement each other.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module for you personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 category images – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 category images – Mironsoft

Magento 2 category images – Mironsoft

€99.00