Code for photo editing changed.