$alt and $title are defined on lines 617-8, but then not used on line 643. Here's one solution.
Nevermind, there will only be one solution here. I was going to take out lines 617-8 and keep 643 the same, but $alt and $title are used elsewhere, so it's best to change 643.
thanks, committed to HEAD.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.