Fix #21: do not re-encode image URLs already encoded