small fix and depreciated function

fix the first view with subpallettes not defined in the backend
depreciated function generateImage