Wait until the camera loads, frame the shot, click enter and wait until it fully renders. Otherwise, you can input a photo code saved before. Once the photo is rendered completely, you will see a code in the upper right corner, which you can load later, triple-click to select all, then Ctrl + C to copy. (recommended to save it on a .txt file with your text editor).
Photo-taking scripts made originally by @piano_miles https://scratch.mit.edu/projects/431950196