This extension will add image (of course if you add this image) or "no_image" in a module Category.
For work this add-on correctly you should have installed module Vqmod.
Description
By default, the standard Category module in OpenCart only displays category names (and optional product counts). This simple yet powerful OCMOD extension adds category images to the category module output – both for parent categories and their children.
No core file changes are required. The modification extends the default controller and template files, displaying a small thumbnail (50×50px) next to each category link. The images are taken directly from the Image field already available in each category (catalog → Categories). If a category has no image, a placeholder is used.
Features
Adds category thumbnails to the default Category module (both parent and child categories)
Uses existing category images from the admin panel – no extra configuration needed
Fallback to placeholder.png when a category has no image
Images are resized automatically using OpenCart’s image tool (default size 50×50, easily adjustable in the XML file)
Works with active/highlighted category states (the image stays visible on active links)
Fully OCMOD-based – safe for future updates, no core file edits
Compatible with any theme that uses the default Category module structure (Bootstrap list-group)
Installation
Go to Extensions → Installer in your OpenCart admin panel.
Upload the XML file (add_image_in_module_category_3.ocmod.zip/install.xml).
After upload, go to Extensions → Modifications and click the Refresh button (blue refresh icon).
Clear your browser cache and any template cache (if you have a cache extension).
That’s it! The category images will appear automatically in your Category module front-end.
Customization
To change the thumbnail size, edit the XML file and look for the two occurrences of 50, 50 (width, height). Replace with your desired dimensions, then re‑upload and refresh modifications.
Requirements
OpenCart 3.0.3.0 – 3.0.5.0
Default category.php controller and category.twig template (not overwritten by your theme? The module also works with most custom themes as long as they keep the standard variable names)
Support
If you need help or want to report an issue, please use the extension’s support forum or contact via LexX2605@yandex.ru
Login and write down your comment.
Login my OpenCart Account