ajax funtion breaking a tooltip

As you'll see the only image that has got the tooltip is the one in the centre.. and I need all of them.

With $('#content img').tooltip({
I now the programming is looking into the images of the content div, but I'm so desperate that I've added title="'+alt+'" everywhere .. and even so, it is not working ..please help!!