Handling of pasted thumbnails