add configure init

configure init
store image type
 1 to store image in document
2 to store image in alssertlibrary