Initial backport for Drupal 5.x
3/29/09 #403128: 404 Error by nruest, jannalexx fixed 404 error when drupal running in a subdirectory. Added token support in default alt and title text.