Trouble with makeImage