add combine images code