[UPDATE] image ternary + js front admin