initial code for album editing and photo image