we can do this check once instead

NSRange schemeRange = [imageName rangeOfString:@"://"];
 if(schemeRange.location != NSNotFound) {