edit previous photo (.jpg)