Title: gallery numbering
Last modified: August 21, 2016

---

# gallery numbering

 *  Resolved [Stefan Martinek](https://wordpress.org/support/users/stefan_martinek/)
 * (@stefan_martinek)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/)
 * I have 170 galleries. I deleted the last five galleries (#166-#170). When I create
   new galleries, they do not fill the empty slots but continue from #171. Is all
   fine and nothing corrupted? Why they do it this way?
 * Thank you,
 * Stefan
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/#post-4599036)
 * [@stefan](https://wordpress.org/support/users/stefan/) Martinek The gallery ID
   is assigned from the database index, nothing corrupted, that’s the way it works.
 *  Thread Starter [Stefan Martinek](https://wordpress.org/support/users/stefan_martinek/)
 * (@stefan_martinek)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/#post-4599076)
 * tizz, thank you. Is my understanding correct that the WordPress databases, all
   of them, do the same thing but in case of NextGen the number is visible? For 
   example, if we go to the default WordPress media library we cannot see IDs, but
   do any deletions create the number gaps as well. Thanks a lot.
 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/#post-4599114)
 * [@stefan](https://wordpress.org/support/users/stefan/) Martinek Sorry, but I’m
   not sure I understand the question
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/#post-4599136)
 * [@stefan](https://wordpress.org/support/users/stefan/) Martinek – Yes, almost
   every database that is indexed will have an ID of sorts (usually numeric) which
   is more often than not auto-incremented. Whether or not the ID is displayed is
   almost entirely at the discretion of the software author as it would also be 
   dependent on the application on whether or not it was sensible to display it.
 * Using WordPress as an example, you would see similar things with Category, Tag,
   Page, and Post ID’s as well.
 * – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘gallery numbering’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/gallery-numbering/#post-4599136)
 * Status: resolved