adding beans.xml
implement save image