Checks if is http:// before invalidating the image as space char didn't try to load but triggerd js error action