Properly parse image urls

Don't strip out excess `/`'s from the scheme.