Introduction
The Magento 2 Image Alt Tags extension by FMEextensions allows store owners to automatically generate and manage alt tags for product images. This extension helps improve SEO by providing relevant, keyword-rich alt tags for better search engine indexing and accessibility.
Key Features
- Automatic generation of image alt tags based on product attributes
- Customizable alt tag templates to suit SEO needs
- Option to replace existing Alt text with new ones
- Improved image indexing by search engines
- Enhanced accessibility for visually impaired users
- Supports custom variables for alt tags like product name, category, and brand
Compatibility
This extension is compatible with the following Magento versions.
- 2.1.x
- 2.2.x
- 2.3.x
- 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7
Installation Guide
Method 1
-
Unzip fme_seo-images-alt-tag-x.x.x.zip to a local folder.
-
Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
-
Create the following folders (as mentioned in step 2): a. app/code/FME b. app/code/FME/SeoImagesAltTag
-
Copy all the contents from fme_seo-images-alt-tag-x.x.x to newly created SeoImagesAltTag folder.
-
Now open console or shell.
-
Go to your Magento directory and run the following commands:
- php bin/magento module:enable FME_SeoImagesAltTag
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.
Method 2
- Unzip fme_seo-images-alt-tag-x.x.x.zip to a local folder.
- Make folder FME into your_magento_directory/app/code/ (if you don't find code folder within app folder, please create it first).
- Create the following folders (as mentioned in step 2):
- app/code/FME
- app/code/FME/SeoImagesAltTag
- Copy all the contents from fme_seo-images-alt-tag-x.x.x to newly created SeoImagesAltTag folder.
- Go to your_magento_directory/app/etc/
- Open config.php file in etc folder
- Add the following line in $modules array at the end ‘FME_SeoImagesAltTag’=>1,
- Now open console or shell.
- Go to your Magento directory and run the below commands
- php bin/magento setup:upgrade
- php bin/magento setup:static-content:deploy -f (-f may not work in Magento versions less than 2.2.x.)
- chmod command for var/ pub/static and generated/ folders
- Reload the Magento admin and you will see FME Extensions on the left side menu of your admin panel.