support imagespan and clickablespan