Part 1 of multi image type handling.