The 2nd link was for you to make sure you did somehow add a custom border.
<<< If I then replace the image, the line goes away, but as soon as I save again, line comes back.>>>
does this happen with compressed images? all images?? check your image settings for original vs replaced images.