Add padding to thumbnail image