Take the photo home, don't waste your money.
As per CIC:
At this time, the electronic photos uploaded by applicants cannot be used for the permanent residence card; therefore, CIC will not reject an application as incomplete if the photos submitted do not comply with CIC's prescribed photo...