How can Image files be properly organized? I am using Blender on Windows, version 2.92.0. I have &quot;Relative Paths&quot; selected in the &quot;Save &amp; Load&quot; panel of the Preferences.
I have a lot of directories, each with a set of .png images with the same names.
When using the shader editor, and creating an Image Texture node, the Blender File View has &quot;Relative Paths&quot; also selected. When I navigate through the directories and select the image, the Image is given the name of the image, with none of the previous sub-directories considered. For example, if I have a .blend file C:\Example\example.blend, and an asset directory with the following contents:
C:\Example\Icons\foo\1.png
C:\Example\Icons\foo\2.png
C:\Example\Icons\foo\3.png

C:\Example\Icons\bar\1.png
C:\Example\Icons\bar\2.png
C:\Example\Icons\bar\3.png

...

If I import all of these, they will show up in the Blender File Outliner, under images, but as 1.png, 1.png.001, 1.png.002, and so on, instead of what I would expect, which is in a series of directories or groups based on the relative path, such as //Icons/bar/1.png. At one point I was able to find the properties of the image itself, which did in fact use that path as the filename of the image. I can't find that dialog box anymore.
I would expect the Blender File Outliner to allow me to create some kind of subcategory or group in the &quot;Images&quot; node in order to organize them, but that doesn't seem possible either. It's not clear to me how one is expected to organize a large amount of Image assets in a .blend file. and manually naming individual images &quot;some/long/directory/foo.png&quot; seems like the only option. Am I wrong?
No, you are right. When blender encounters files with the same name (regardless of where they are from), it assigns a .### to the end of the newly loaded file’s data block name (same is true of any data block being introduced into the blend file, actually). As you said, though, the filepath property of the images are still different, and the images are not equal. You can look at this property with:
&gt;&gt;&gt; bpy.data.images[“datablockname.png”].filepath