Post processing of images adds prefix second time

Post processing of images in post adds prefix second time when post processing images.

This is because Discourse::base_url has /prefix in it. Split it into two methods and invoking the second one in post processing.