Generate automatic ALT tags for images in Wordpress MU


Note: project involves viewing adult images at times.

I have a Wordpress MU network installation and need someone to code a small solution to generate automatic ALT tags for images in posts for SEO purposes.

I provide following code found for free on the internet for illustration purposes but I´m not sure if it works. Anyway, you are responsible of making a solution that works and does the following: all images in the posts in the current OR at least in future blog posts, be it manual or rss feed posts, shall have ALT tag descriptions, taken from the post´s titles.

Here´s the code for illustration purposes, which is supposed to be on [url removed, login to view] file:

/** Auto-

Generate ALT tag for images */

function image_alt_tag($content)

{global $post;preg_match_all('//', $content, $images);

if(!is_null($images)) {foreach($images[1] as $index => $value)

{if(!preg_match('/alt=/', $value)){

$new_img = str_replace('<img', '<img alt="'.get_the_title().'"', $images[0][$index]);

$content = str_replace($images[0][$index], $new_img, $content);}}}

return $content;


add_filter('the_content', 'image_alt_tag', 99999);

The 3 blogs to work with are: [url removed, login to view], [url removed, login to view], [url removed, login to view]

Skills: HTML, PHP

See more: auto generate alt tag functions php, wp auto blog, wordpress posts not found, it works global, img wordpress, illustration blogs, blogs for free, alt com, global solution, generate content, automatic, auto post rss, adult illustration, html project tags, illustration adult, generate html, html img, adult titles, wordpress html code post, responsible html, wordpress generate, wordpress global post, wordpress rss feed code, adult img, wordpress adult blog seo

Project ID: #4010389

Awarded to:


Hello, I can make this for you... but that code won't work.. I tested it and I made a new one that does... let me know if you have any question. Thank you for your time.

$30 USD in 0 days
(17 Reviews)

3 freelancers are bidding on average $30 for this job


We are freelance software developers. If you contact me I can give a quote for your project and we can discuss the details. <b><i>Removed by Admin</i></b>

$30 USD in 1 day
(0 Reviews)

HI ______________________________

$30 USD in 0 days
(0 Reviews)