switch $log.error to toastr.error
display raw imagedata