add thumbnail support on save