edited command for photo