fixes error where img src does not have a http:// or https:// appended