URLEncode picture "img src" and "a href"s.

Spaces and HTML characters(`"`, `#`) were causing images to improperly
load.

Don't display error message if there are no images.