Adding 'targetSize' argument to 'displayImage(...)' calls