What’s up with iPhone’s image numbers?

My iPhone takes all pictures in order, like labels them img_0001, etc. but here and there it has a wild random number like img_8738 and then it’ll go back to labeling pictures in order. Why is this? I don’t get it. Is it based on location or size or anything? I would just like this explained to me please. Thankyou

Posted on Apr 12, 2018 8:30 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Apr 16, 2018 12:15 AM

I tried a couple of scenarios on my device (iPhone 8/iOS 11.2.6), and found the following:

  • File numbering is not affected whether my phone is on Wi-Fi or 3G/LTE
  • Sequential numbering is also not affected whether you take a picture with the camera app, take a screenshot, or save to your camera roll a photo you receive from messenger apps (SMS/iMessage, Viber or Facebook Messenger)

    the only difference I noticed is the file type -- screenshots are saved as *.png files, while the rest are saved as *.jpg

  • The various capture modes of the camera app (photo, portrait, square, panorama) also did not affect the numbering sequence. However, any edit done to these photos will generate a new file with an "E" inserted into the file name -- i.e. "IMG_Exxxx.JPG" -- the xxxx number sequence is still the same.
  • The non-sequential numbers I did generate from all this experimentation were from pictures that were:
    • exported by photo/video editor applications (such as Pic Collage)
    • received via air drop from another iOS device (these pictures retained the numbering sequence assigned to it by the transmitting iOS device; no re-naming function done by the receiving iOS device)
  • Additionally, videos that you edit and choose the "save as new clip" option will be given a totally random file name, but will retain the original file name assigned if you choose the "trim original" option.
3 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Apr 16, 2018 12:15 AM in response to dhhdn

I tried a couple of scenarios on my device (iPhone 8/iOS 11.2.6), and found the following:

  • File numbering is not affected whether my phone is on Wi-Fi or 3G/LTE
  • Sequential numbering is also not affected whether you take a picture with the camera app, take a screenshot, or save to your camera roll a photo you receive from messenger apps (SMS/iMessage, Viber or Facebook Messenger)

    the only difference I noticed is the file type -- screenshots are saved as *.png files, while the rest are saved as *.jpg

  • The various capture modes of the camera app (photo, portrait, square, panorama) also did not affect the numbering sequence. However, any edit done to these photos will generate a new file with an "E" inserted into the file name -- i.e. "IMG_Exxxx.JPG" -- the xxxx number sequence is still the same.
  • The non-sequential numbers I did generate from all this experimentation were from pictures that were:
    • exported by photo/video editor applications (such as Pic Collage)
    • received via air drop from another iOS device (these pictures retained the numbering sequence assigned to it by the transmitting iOS device; no re-naming function done by the receiving iOS device)
  • Additionally, videos that you edit and choose the "save as new clip" option will be given a totally random file name, but will retain the original file name assigned if you choose the "trim original" option.
Reply

Apr 12, 2018 8:49 PM in response to scratchgolf_828

Thankyou for replying. Yes, they were all taken by my phone camera. That’s why I am wondering, does it matter if the phone is connected to WiFi vs. data, or what camera mode the picture in, or does it not matter? Because normally my phone numbers them in order regardless of whether or not it is a screenshot or an actual photo. Would the picture name change if you took the picture while in the message app with somebody? I am not sure. I would just like this mystery solved.

Reply

Apr 12, 2018 8:45 PM in response to dhhdn

Were those images with random numbers taken by your own phone? Out-of-sequence images are usually from external sources--such as being air dropped from another iOS device or images transferred from a wi-fi enabled camera (such as a GoPro or DSLR).


Sometimes, pictures exported by other apps from within your device may also assign a non-sequential number.

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

What’s up with iPhone’s image numbers?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.