add possibility to do api add of pictures