If/then block part 2 (resize)