Literal translation:
* "When is this photo from, or what?"
More natural English translations:
* "When was this photo taken?"
* "What year is this photo from?"
* "Do you know when this photo was taken?"
The "o que" at the end adds a slightly questioning tone, like a way of saying "or what?" It implies that the speaker is unsure about the date of the photo and wants clarification.