correct url for image publishing