Sorry, I am not sure if I understand what you mean.
I fixed that images are sometimes not proportional when they are too big and get resized:
https://github.com/splitbrain/dokuwiki/commit/bd28ae8066c753421603f70737fa91fa9697ec58
Was that the problem?