Failed to scale the jpg image in PHP

I'm trying to resize jpg format images that are housed in a folder and I just skip the error in a particular image. I do not understand what is happening because the picture weighs little and that it is a jpg like the others. I have tried to resize the image. an online compressor and an interesting mistake.

I enclose the code that I use, the image and the error.

Fault

Warning: imagecreatefromjpeg (): gd-jpeg: JPEG library reports unrecoverable error: in C: xampp htdocs pp test.php on line 9

Warning: imagecreatefromjpeg (): nature / u.jpg & # 39; is not a valid JPEG file in C: xampp htdocs pp test.php on line 9

Warning: imagescale () expects parameter 1 to be a resource, boolean specified in C: xampp htdocs pp test.php on line 10

Warning: imagesy () expects parameter 1 to be a resource; null specified in C: xampp htdocs pp test.php on line 11

Warning: imagejpeg () expects parameter 1 to be a resource; null specified in C: xampp htdocs pp test.php on line 15

$ directory = 'nature /';
$ images = glob ($ directory. "*. jpg");

foreach ($ images as $ image) {

$ im_php = imagecreatefromjpeg ($ image);
$ im_php = imagescale ($ im_php, 100);
$ new_height = imagesy ($ im_php);
$ extension = substr (strrchr (base name ($ image), "."), 0);
$ base_name = base_name (base_name ($ image), ".jpg");
$ name = $ base_name. "- 100px.jpg";
imagejpeg ($ im_php, $ directory. & # 39; resized /&#39 ;.$ name);
}

enter the description of the image here