May be even lua can be used to automatically convert absolute path in \includegraphics to relative one?\includegraphics[width=textwidth]{/mnt/g/public_html/my_notes/images/my_image} to \includegraphics[width=textwidth]{../../my_notes/images/my_image} This will solve all the problem.
fyi; It seems Lua has support for finding relative path given absolute one. Here is one link among others I found https://stackoverflow.com/questions/13224664/how-to-convert-absolute-path-in-relative-path-using-lua May be this will make it easy to do this conversion automatically since make4ht is written in lua? --Nasser
