A response to this post by basil.

Perhaps the compromise is to copy the files between the folders on the server.

And upload them to the repository.

But omit the images from the rsync to the server.

Removes one leg of the round trip, and keeps the repository source completely intact.