thumbnail init with image