The code below shows you how to disable the function but not remove the button.
For now does not achieve to gray out the button directly.
<script>
function CuteEditor_OnCommand(editor,command,ui,value)
{
if(command=="InsertImage")
{
alert("Disable!");
return true;
}
}
</script>
Regards,
Ken