add thumbnail method