Add support for loading image resources from mods directly