I'm not shore about what u ask
but I'm going to show u all tables and see what u need and what u don't need
first of all 4 images has 15 tables
1. 4images_categories = this one is for the categories that U had been add
2. 4images_comments = and this one is for comments that had been added by users
3. 4images_images = info about the images that had been uploaded
4. 4images_lightboxes = lightboxes for users
5. 4images_settings = ur gallery settings
6. 4images_users = ur users
7. 4images_wordlist = needed without tell why
I think that all what u need to know