If restoring everything to its proper place is too brutal a task to even contemplate, just put the pics in properly sub-sectioned galleries and people can then hunt through them and re-link pics in their threads, if they wish. Should be manageable for the admins to do this (given a good amount of time- grab a coffee or fifty, pick a sub-section, and just get stuck in on it), and everyone will have access. Anyone with a few hundred links in a thread that doesn't want to re-link them all can just post a link to the proper sub-section/page where the appropriate pics can be found. That's enough work for the admins as it is, and it is not too much to ask the community to wipe its own butt after they have been provided the paper.