changed local photos controller