added thumbnail size setting.