TakePhoto plugin complete