Pictures shown on online parts stores are often "stock" photos to show a representative part......the one you get may look different.
The VSS drives the speedometer cable........and has an electrical output.
I do not know if there is a different part for electronic speedometer vs mechanical.
When mine failed, I think it was intermittent.....sometimes worked....and sometimes did not...
Although....it seemed to be getting more toward the not.
It came up on a Thursday afternoon when we were on the way back from a worksite.......then it started acting up the next morning.