allow to pass image resize options to image controller