When you change the links type from Document Relative to Site Root Relative in your project settings all the image and include files links will br automatically adjusted on save.
Example:
- You have root relative links in your
root/subfolder/index.html
file ->/subfolder/image.jpg
- You change the links to file relative
- On save your link becomes
image.jpg