fixed up image object for pngs