add thumbnail generate code
add thumbnail generate code