Add resizing to ImageProperty, fix FileProperty and ImageProperty, fix migrations.