Change latex to images