fix portable URI handling for multiple images