Fixed image view html
Moved image processing to client side