add thumbnail tool to create thumbnail for pic