add thumbnail in popup