Updated picturesLib.php

Finished addPictures() function, but untested.