Not sure what undertaking you have to do, but in the interim, if you disable additional images at least the remainder of the page should be able to load. Then, to keep the images in place while working out the other issues, if you kept the incorrect images present and basically duplicated them using a consistent pattern (all spaces to dash or to an underscore, but choose one), then you could have all the images "replaced" on the server while customers are still able to see and shop. Then once all the files have been renamed using a consistent process, the database can be updated to replace spaces with your chosen replacement character(s). And then you can remove the file(s) that have spaces or otherwise don't match a product or other image location...
Oh and reenable additional images after the database points to properly named images.
Bookmarks