make lockview for photos work