fix portable URI handling for multiple images
Merge remote-tracking branch 'origin/master' into 1.4.6