Add continuing auto-increment for image numbers