Encoding photo address