Completed addImages utility