changed controller to set load base64 image