Updated img paths for output - if a media source has a baseUrl it is used