thumb.setMimeType("image");
thumb.setMimeType(DEFAULT_MIME_TYPE);
    private Thumbnail createThumbnailMetadata(Pixels p, int sizeX, int sizeY)    {    	Thumbnail thumb = new Thumbnail();		thumb.setPixels(p);		thumb.setMimeType("image");  // FIXME: Hack		thumb.setSizeX(sizeX);		thumb.setSizeY(sizeY);		return iUpdate.saveAndReturnObject(thumb);    }