Added photo archiving function to speed up load times