I have no pictures of it, sorry.
The original motor had a shaft on the back side, so it was easy to add the encoder.
The encoder was taken from the right side of the gantry, it was used to track and prevent raking.
The issue was space as with the encoder it barely fits in, but it is doable.
This is the smaller one of the two, the bigger one has ballscrews and belt reduction, so i replaced the motor with a stepper and added a drive. The bigger one also uses the old drives.
On old motors, mind the encoder cables, they tend to brake inside the connector, and quite hard to solder in place. Luckily, only one had such issue.