add some demo function.
Fix some bug when chang Image