Picture thumbnails disappearing

This is driving me mad. About a week or 2 after factory reset or clean ROM install, my thumbnails all disappear and are only generated for new pictures. This is mostly a problem in wallpaper picker for GEL and documents. No matter what I try I cannot get them to regenerate. Anyone know how to fix?

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?