Remove image references(only load when needed), save thumbnails.