Official WordPress plugin of ImageSEO : https://imageseo.io
Optimize images alternative texts (alt text or alt tag) and names with SEO friendly content. Optimize image html attributes on upload or bulk your library. Save time and improve your accessibility and SEO.
Beside alt tags, image SEO optimizer also generates Social Media preview cards for your posts using the Open Graph protocol (og tag).
If you're looking to contribute to imageSEO, welcome! We're glad you're here. Please ⭐️ this repository and fork it to begin local development.
Most of us are using Local by Flywheel to develop on WordPress, which makes set up quick and easy. If you prefer Docker, VVV, or another flavor of local development that's cool too!
To get started developing you will need to perform the following steps:
cd
into your local plugins directory: /wp-content/plugins/
imageseo
directorynpm install
to get the necessary npm packagescomposer install
to get the necessary composer packagesnpm run build
to build the files required for the plugin. Development files are located in the app
folder.That's it. You're now ready to start development.
Development Notes
Ensure that you have SCRIPT_DEBUG
enabled within your wp-config.php file. Here's a good example of wp-config.php for debugging:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Loads unminified core files
define( 'SCRIPT_DEBUG', true );
Commit the package.lock
file. Read more about why here.