Customize image method of auto html