create thumbnail image component