factorized code: add method for image default