Modularize photo location modification