multiple images support almost works