The prohibition was against images of pagan gods That where worshipped instead of YHVH. He is the invisible God of all creation. the only image  to be worship is Jesus the image of the invisible God YHVH.