Use the imageRoot parameter, or set the TECHS_IMAGE_ROOT environment variable in your build script, to control from where the autoSize mechanism will look.
TECHS_IMAGE_ROOT
bool autoSize;