fixing image url generation - stripping protocol