apply thumbnail to model view and controller