It will help you to improve your skills or how to understand how to start this journey!
The question is quite simple, you are on a development website (also locally) but you don’t care of the images maybe because they are 50000~!
So a simple solution is a Apache redirect for your .htaccess (to put before the section added by WordPress), in this way the local request (on remote if it is a staging) get a redirect to the image.
RewriteEngine on RewriteRule ^(wp-content/uploads/.*) https://domain.com/blog/$1 [L]
In this example we have a domain with the WP instance in a subfolder but in case you don’t are in this case just remove the