LaTeX will think that it is in exactly the same directory given that the editor. There are ways you'll be able to alter the default Listing for figures, but we received’t go into that in this article. thanks Funded via the Overleaf team. : could be added after the https://latexslogon.over-blog.com