When I upload a link image to an link entry, I can see that image under "Current link image" in the backend, but in the frontend it is shown as broken. I've checked the paths of both images and found out, that in the frontend the path to my subdirectory where I run my WordPress is duplicated. But in backend it is fine.
For example I save a link image and see that path in backend:
...but in the frontend the image link is like this:
How to fix that bug?