modified pictures loading php code, only *.jpg files will be load to pic wall