def contribute_to_class(self, cls, name):
super(SizedImageField, self).contribute_to_class(cls, name)<EOL>signals.post_init.connect(self._set_thumbnail, sender=cls)<EOL>
Makes sure thumbnail gets set when image field initialized.