change the mode for http image view
add code