Image files loading issue

okay, will have to check. THX!!! so much for your patience.

Just to understand the complete picture of web development:

What is the clue then to provide a folder for a website with images. My guess so far was to collect all files within the project folder and upload on a website server. If the images are stored on a local server, the images cannot be found from the website server later on, I guess…

How to make that step from building code locally and provide it later for a public website with all media files?

THX