Make client-side capture work for photo IDs