fix if img is from hosted blog