Просмотр поста

.
fanatos
Менделеев

Try this

if (file_exists('../files/users/photo/' . $user['id'] . '_small.jpg'))
  {                  echo '<img src="../files/users/photo/' . $user['id'] . '_small.jpg" width="60" height="60"/>';
}