fixed image resize controller