SEO Friendly Images

The free version of the plugin is not supported. Get the supported, premium version of SEO Friendly Images with lots of premium only features!

SEO Friendly Images is a WordPress optimization plugin which automatically updates all images with proper ALT and TITLE attributes. If your images do not have ALT and TITLE already set, SEO Friendly Images will add them according the options you set. Additionally this makes the post W3C/xHTML valid as well.

ALT attribute is important part of search engine optimization. It describes your image to search engine and when a user searches for a certain image this is a key determining factor for a match.

TITLE attribute play lesser role but is important for visitors as this text will automatically appear in the tooltip when mouse is over the image.


Installation & Usage

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Use the Options page to modify ALT and TITLE options.
  4. You are done, SEO Image does everything else

SEO Friendly Images options recognize two tags %title (post title) and %name (filename of the picture). By combining these two tags and additional words (photo, picture etc..) you can create relevant alt and title tags automatically for all images.

Here is a live example of the plugin (active on my blog). The image that has title and alt replaced with "%title" and "%name %title" respectively resulting in "SEO Friendly Image" for title and "example SEO Friendly Images" for alt.


There is one additional option called 'Override default WordPress alt'. If you uploaded pictures to your blog posts already and haven't specified a description WordPress would automatically add a default alt tag in form of image.jpg. Since SEO Friendly Images replaces only empty or non-existing alt tags, this would be left intact unless this option is turned on.


v2.4: Regexp Optimization. Fixed bug with single quotes used in images.

v2.3.2: WP 2.7 cleanup

v2.3: Fixes an issue with poorly formatted img tag

v2.0: Fixed compatibility issue with WordPress 2.5.1 and included %category replacement string.

May 20th, 2008 v1.20

* Compatibility with WordPress 2.5.1 and support for %category.

Mar 6st, 2008 v1.1

* Bug fix with quotes in titles

Mar 1st, 2008 v1.0
* Initial release

Visit my other interesting WordPress Plugins.

Need help with WordPress SEO? Feel free to contact me.


  1. Jun 29th, 2008 7:19 PM

    Great plugin.

    Another SEO I think is important if you can implement... Can you add nofollow tag to every thumbmail of gallery image? Google index all my images :S

    Thanks :D

  2. Jun 17th, 2008 4:16 PM

    Can you send more info on what's wrong with regex?

  3. Jun 14th, 2008 12:08 PM

    Thanks for the plugin.

  4. Jun 11th, 2008 6:44 PM

    Nice plugin, but breaks my style attributes i assigned to some images. Would be great, if you could fix the regex...


  5. May 27th, 2008 4:06 AM


    This plugin is not compatible with CFORMS .. most probably it's trying to write the alt tag for the captcha image.. then CFORMS rendering fails.. Would it be possible to check certain image height and width..

    But anyway great work..

  6. May 25th, 2008 4:12 PM


    thanks for wordpress plugin.

    i using this plugin in wp 2.5

  7. Ahni
    May 21st, 2008 1:42 AM

    Cheers for the fixes, but there's still something wrong with images that don't have a trailing slash. The html looks like...

    img src="http://localhost/wordpress/wp-content/" presentation="" to="" support="" heart="" of="" the="" world="" alt=""

    I hope this is solvable. I'm really looking forward to using your plugin :D

  8. May 20th, 2008 10:29 PM

    Fixed the compatibility issues with WP 2.5.1, fixed breaking of html and added support for categories.

  9. Brent Csutoras
    May 18th, 2008 8:35 PM

    This plugin does something else as well.

    I am running 2.5.1 and with the plugin on it does not work. It shows alt="" on all images on the site.

    Additionally it must to something more because the link for images looks identical with the plugin on or off.. however when i have the plugin on, it will not show images when trying to submit content to social sites like digg.

    When i turn it off then the images are available again as thumbnails on submissions. So there is something somewhere messing with the format of thumbnails?

  10. May 16th, 2008 5:07 PM

    Great idea for a plugin.
    But is this thing validated?
    I hear it isn't compatible with some widgets that are officialy released for WP.

  11. xspoof
    May 12th, 2008 7:46 PM

    Just downloaded the plugin. There's an error with an missing " at the end of the alt tag.

    Any idea how to fix that?

  12. Kane
    May 12th, 2008 11:43 AM

    Great plugin, but it's incompatible with NextGen Gallery
    Please take a look at this thread
    Hope this bug can be fixed soon.

  13. May 10th, 2008 10:08 PM

    good idea for seo, thanks

  14. May 6th, 2008 5:14 PM

    hi there .thanks for plugin:

    Does anybody know if tis script is compatible with WordPress 2.5.1?

    Thanks in advance for any help on this!

    best regards


  15. Ben
    Apr 28th, 2008 8:49 AM

    There is a problem with WordPress 2.5.1 and gallery, the plugin is not working po gallery images.

  16. Ahni
    Apr 15th, 2008 12:12 AM

    hey. I'm having the spacing problem too, but it's messing up the images on my site. Here's what the html ends up looking like:

    [img src="cochabamba-bolivia-128x96.jpg%20title=" cochabamba-bolivia-128x96="" photo="" alt="cochabamba-bolivia-128x96"]

    I'm also getting the following error:

    Warning: strpos() [function.strpos]: Empty delimiter. in /../seo-friendly-images.php on line 231

    hopefully this can be fixed soon, this is a very useful plugin. Thanks.

  17. Anonymous
    Apr 14th, 2008 7:31 AM

    This plugin doesn't properly handle img tags that are missing the trailing slash / before the closing >

    It also causes validation to fail due to extra spaces that it adds into the img tag... eg. it changes border="0" /> to border= "0" />

  18. Apr 5th, 2008 12:47 PM

    A great plugin for SEO purposes - thanks alot!

  19. Mar 21st, 2008 12:08 AM

    Is there anyway to get it to also have the ability to put in ALT/TITLE the categorie the post the image is in?

  20. AJ
    Mar 20th, 2008 12:15 AM

    I have just installed this plugin and it works fine on pictures that I have imported into a blog. However, for photos that are inserted into the blog with WPG2 (and linked to my Gallery) the photos display as a broken link and only the only %name and %title details appear. Has anyone else tested it with WPG2?

  21. Mar 17th, 2008 1:20 AM

    Good idea, although it would be more useful if it put the image title in the title attribute instead of the page title.

  22. Mar 16th, 2008 8:20 PM

    I just noticed that WordPress does not provide a title tag for images. Is this true? Or am I dumb? Maybe both I guess. ;-)

    Nice plugin by the way but it puts space characters behind all equal signs.

    With plugin activated:

    alt= "... title= "...

    With plugin deactivated:

    alt="... title="...

    Greetings from Germany!

  23. multilingual
    Mar 16th, 2008 4:50 PM

    Fantastic plugin! One problem is that it doesn't work with the polyglot multilingual plugin. When you get this to work, it will be a perfect companion to all in one seo pack! It's actually a very simple fix, shouldn't take but 1 minute. Apologies for the double post.

Have your say

You must be logged in to post a comment.