Eagle-eye → Jim Feuerstein!
Yes, good shot! It is right!
instead of…
.contains("Title",phototitle);
…using this one…
.contains("title", phototitle);
And about your statement…
I’m not qualified to comment on your code
We all were beginner, so do not hesitate to respond to questions. Even if you do mistakes, you also learn from mistakes → even more than going the normal way of learning, by just reading posts!