Every time an Image is uploaded using I-Load, the component can store several files (See How many and which files are saved by I-Load).
I-Load uses its naming system in order to avoid collisions and to detect the various files associated to a single image.
The file names generated by I-Load always have the following structure:
[IMAGEID]_[SUBFILEID].[EXT]
Where:
- [IMAGEID] is the ID of the image (see the Id property of the WebImage class.)
All files associated to a single image have the same [IMAGEID] as a prefix. - [SUBFILEID] is the ID that allows the various files associated to an image to be distinguished.
For customized thumbnails, the [SUBFILEID] coincides with the InternalCode property of the WebImageResizeDefinition class.
There are also some IDs that I-Load uses by default:
- "__Source" identifies the original images uploaded by the user
- "__Selected" identifies the image files selected by the user
- "__Icon" identifies the icons visualized by I-Load
- "__Index" identifies the XML index files of the images
- [EXT] is the file extension (jpg, gif, png, xml, etc...)
Example
These are the file names that I-Load could generate for a hypothetical image having ID "123".
- "123___Source.bmp" (the original image uploaded by the user)
- "123___Selected.jpg" (the image selected by the user)
- "123___Icon.jpg" (the icon visualized by I-Load)
- "123___Index.xml" (the XML index of the image)
- "123_MyThumbnail1.jpg" (thumbnail "MyThumbnail1")
- "123_MyThumbnail2.jpg" (thumbnail "MyThumbnail2")
![]() |
If you wish to store images in the file system without using the I-Load naming system, please see How to save image files with a fully customized file name |
