refactoring
option photoDescLengthMax: photo name max length after which name is truncated