set a startup variable. unset it with the first call of the photo index page