I'm trying to override the way the images in the catalog, checkout, and shopping cart load slightly differently than Magento does by default.
That's why I'm trying to create a module that changes
ImageFactory.php to me.
I have created a suitable one
In ImageFactory, I changed the module loaded by Magento2, which is located correctly in the tree.
Neither the file nor the ImageFactory is called by Magento. The module is actively being read by Magento because I see the settings for adminhtml that I have configured in config.xml.