create method record picture adn savr in database