factorized code: add method for image default
Merge pull request #59 from fbrusatti/ra/create_challenge

factorized code: add method for image default