---
title: 'Category Gallery Hover'
url: 'https://info.srv.kowal.co/docs/magento/modules/module-product-gallery-hover'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/module-product-gallery-hover.md'
lang: en
date: '2026-11-30'
description: 'Let shoppers hover or swipe through multiple photos in a product tile. Choose which image appears first and test the gallery without leaving the category page.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - catalog
    - gallery
---

# Category Gallery Hover

**Composer** `kowal/module-hover` · **Version** 1.0.25

## Product page

[Category Gallery Hover — kowal.co](https://kowal.co/interactive-product-photo-gallery-on-magento-2-category-page)

## Description

Browse additional product images without leaving the category listing. Shoppers can move through a product tile’s gallery by hovering or swiping.

## For whom

For catalogs where several views of an item help shoppers evaluate it directly on the category page.

## Features

- Gallery navigation inside a product tile.
- Optional on\_hover image role for the first preview.
- Gallery metadata embedded in the category HTML and cached with the page.

## Installation

From the Magento root, with Composer access to the Kowal package, run

```sh
composer require kowal/module-hover
bin/magento module:enable Kowal_Hover
bin/magento setup:upgrade
bin/magento cache:clean
```

## Configuration

1. Enable **Stores → Configuration → Kowal → Category Gallery Hover → General → Enable**.
2. Choose a product assigned to a category and add at least two distinct, visible gallery images.
3. To set a specific first preview, enable **Use On Hover Image Attribute** and assign the on\_hover role to the chosen image. Save the product.

## Requirements / notes

The package requires Kowal Base. Version 1.0.25 loads metadata in batches for the current category page; navigating the images needs no per-SKU PHP request.

## FAQ

**Why does the gallery still show an old image after an import?**

For custom imports that bypass Magento events, check invalidation of both gallery metadata and the cached category page. Also check the image role and gallery order in the target view.

## Verify the installation

```sh
bin/magento module:status Kowal_Hover
```

Open the category containing the test SKU. Check the first hover image, navigate to the next image and repeat by swiping on a phone. Compare the results with that product’s Admin gallery.

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Hyvä Layout](https://info.srv.kowal.co/docs/magento/modules/hyva.md)
- Next: [Promotional Popup](https://info.srv.kowal.co/docs/magento/modules/promocode.md)
