Support » Plugins » Gallery ID incrementation a bit wack – HELP!

  • Resolved simophat


    i recently uploaded a number of test galleries and then deleted them. Now when i upload a completely new gallery, its gallery id ($gid) has automatically resolved at 12.
    This is obviously because i had 11 galleries before. HOwever i deleted them from the nggallery interface as well as the database.
    Can anyone help. I need to reset the gallery id number so that when i restart uploading galleries it starts at “1” again.

    I really need the gallery ids to increment one after the other so if the last gallery had an id of 1 i need the next one to have an id of 2;… any suggestions?

    Thanks a lot


Viewing 1 replies (of 1 total)
  • I don’t use that plugin but can i ask why the ID’s are so important, if you have some custom code that relies on IDs it may just be easier to help you adjust that code rather then fiddle with the plugin code..

Viewing 1 replies (of 1 total)
  • The topic ‘Gallery ID incrementation a bit wack – HELP!’ is closed to new replies.