Object html image element issue