Updated pictureLib.php