add image template, 1x1 gif, improvements