add thumbnail for pdf