determineImageSource issue