(refs #506)Fix generated URL for images