Added strip_tags to remove HTML from the image alt and title tags.