Automatic SEO Images Alt Tags: setup and help
Quick start
- Install the ZIP in Modules > Module Manager and click Configure.
- Open Improve > SEO Images Alt Tags > Configuration > General.
- Keep Enable Module set to Yes and Override Existing Alt Tags set to No to fill empty legends.
- Set Maximum Alt Text Length and review the three template fields under Templates.
- Save, clear any page cache, and open a product with an empty image legend.
- Inspect its image alt attribute and repeat on a product listing; confirm your theme prints presented legend values.
Requires PrestaShop 1.6.1 or later and PHP 7.1 or later.
Setup manual
Install and open configuration
Upload the ZIP in Modules > Module Manager > Upload a module. Install it and click Configure to open the dashboard. Open Improve > SEO Images Alt Tags > Configuration to edit settings.
Image alt text uses the product or category image data supplied by PrestaShop and displayed by your theme. The category template applies from PrestaShop 9.1.
Configure General
| Setting | Default | What you should do |
|---|---|---|
| Enable Module | Yes | Leave enabled to generate image legends during presentation. Set No to stop temporarily. |
| Override Existing Alt Tags | No | Keep No to preserve nonempty legends. Set Yes to replace legends in handled presenter data. Saved image legends remain unchanged. |
| Maximum Alt Text Length | 125 | Enter a positive character limit. Reduce it if your templates produce overly long text. |
Click Save. Long results are shortened at the character limit. The builder uses a nearby word boundary when a space falls within the final 30 percent of that limit.
Configure Templates
| Setting | Default | Where it applies |
|---|---|---|
| Product Page Template | {product_name} - {manufacturer} |
Product detail presenter data. |
| Product Listing Template | {product_name} - {category} |
Listing presenter data, such as category, search, and homepage product blocks. |
| Category Image Template | {category_name} |
Category image data when the core calls actionPresentCategory. The form identifies this support as PS 9.1+. |
Use these product tokens when the corresponding fields exist in the presented product:
{product_name}, {manufacturer}, {category}, {reference}, {ean13}, {isbn}, {upc}, {mpn}
Use {image_position} for numbered gallery images on the product detail page. Positions start at 1 in gallery iteration order. Cover, default image, and listing text do not receive that variable.
Category templates accept {category_name} and {category_description}. The description token strips HTML tags.
For example:
Product Page Template: {product_name} - {manufacturer} - Image {image_position}
Product Listing Template: {product_name} in {category}
Category Image Template: {category_name}
Because the first example also applies to the cover, its literal word Image can remain without a number there. Use {product_name} - {manufacturer} if you want the same complete phrase on all product image contexts.
You can also use catalog identifiers:
{product_name} - {reference}
{product_name} - {manufacturer} - {ean13}
{product_name} - {mpn}
Missing tokens become empty strings. The builder strips HTML from token values, decodes entities, collapses whitespace, and cleans repeated or edge - and | separators. For a product named Classic Linen Shirt, {product_name} - {manufacturer} produces Classic Linen Shirt - Northwear when the manufacturer is Northwear. It produces Classic Linen Shirt when the manufacturer is missing.
Check the storefront
Choose a product with an empty saved image legend. Keep Override Existing Alt Tags set to No and save a template with a recognizable product field. Clear any page cache, then open the product and a listing containing it.
Inspect the rendered image's alt attribute. On product pages the module updates cover, default_image, and entries in images. On listings it updates those same structures when present. The theme must use their legend values in image markup.
To check preservation, open an image with an existing manual legend. It should retain that legend with replacement disabled. To test replacement, temporarily enable Override Existing Alt Tags, inspect the output again, then restore your intended mode.
Category alt texts are applied through the actionPresentCategory hook, which PrestaShop calls from version 9.1. On earlier versions the category template is saved, but category images keep their current alt text.
Generated legends are assigned during rendering. They are not written back to catalog image legend records. The module builds text from catalog data and does not inspect image content.
Adapt a custom theme
If your theme constructs its own image tags, use the presented image legend for alt. For example, inside markup for the relevant cover image:
alt="{$product.cover.legend|escape:'html':'UTF-8'}"
Use the matching gallery image's legend when rendering a gallery loop. Do not use the cover legend for every gallery entry if you need {image_position} values.
Troubleshoot missing or unexpected text
Confirm Enable Module is Yes. Check whether the image already has a legend and whether replacement is disabled. Confirm the page uses actionPresentProduct or actionPresentProductListing and the theme reads the changed legend.
If a token is empty, inspect the presented field. Manufacturer and category tokens read manufacturer_name and category_name; a custom presenter may omit them. Unsupported tokens are removed. If the generated result is empty, the hook leaves image data alone.
If output appears stale, clear the shop's page or template cache. Use the module's Integrity page to check configuration infrastructure and template values. It can repair missing required template values. Repair templates differ from installation templates: Product Page becomes {product_name} - {manufacturer} - {category}, Product Listing becomes {product_name} in {category}, and Category Image becomes {category_name} category image. Review them after repair.
Disable or uninstall
Set Enable Module to No to stop generation while retaining your templates. You can also disable the module in Module Manager.
Uninstall through Module Manager when you no longer need it. Uninstall removes the module's menu, configuration, and admin preferences. Your original catalog image legends remain because generation did not overwrite them in storage.
Questions
No questions about this module yet
Ask anything about installation, compatibility or setup. Answers appear here.
Known Issues
4
Administration links after upgrade
Dashboard loading
Image alternative text not applied
PHP installation requirement
Feature Requests
3
Implemented
Automatic image descriptions
Tabbed settings
One-click module updates
Changelog
v2.1.102026-10-06
- Addedcomplete FR/DE/ES/IT/PL translations
- FixedRepair dashboard signature and release surface
- FixedRelax SEO image alt PHP requirement
- FixedUpdate lazy image alt handling
Older releases
v1.3.02026-04-20
- Addedself-healing integrity checks for automatic diagnostics and repair
- Addedadmin menu management via MenuInstaller for streamlined module setup
- Addedcomplete FR/DE/ES/IT/PL translations
- Improvedsettings form organization with tabbed layout
- Fixedadmin list filters — sorting, searching, and filtering now work correctly on all columns
v1.2.02026-02-08
- AddedPS 9 / Hummingbird theme compatibility
- Addedbatch regeneration tool — update all existing images via back-office button
- Improvedalt-text template: supports {product_name}, {category}, {brand} tokens
- Fixedalt attributes not generated for combination-specific images
v1.1.02025-07-07
- Addedordered criteria system — define priority of name, reference, category for alt text
- Addedper-language alt generation with language-code token support
v1.0.02025-05-15
- Initialrelease: automatic SEO alt-attribute generation for PrestaShop images
- InitialFills empty alt tags on product, category, and manufacturer images
- InitialBack-office template editor for alt-text format
- InitialCompatible with PS 1.7.x and PS 8.x
Demo
Test the full module before you buy
Buy a licence later and keep your settings.
- Your 30-day demo Test it on your own shop for 30 days from the first install.
- Ready demo shop Explore a ready demo shop in your browser.
- No registration No account, email or store domain needed.
By downloading, you accept the demo terms and privacy policy.
By opening this demo you accept the demo terms and the privacy policy.