I have the same issue and I realised that it happens to the image files which have a long name, images with short name does not have this problem. For example a friend send me a couple of photos at the same minute. The image named as "IMG-20170629-WA0005.jpg" can be viewed without a problem but...