ComfyUI > Nodes > IAMCCS-nodes > Load Images From Dir (Lite) πŸ“

ComfyUI Node: Load Images From Dir (Lite) πŸ“

Class Name

IAMCCS_LoadImagesFromDirLite

Category
IAMCCS/LTX-2
Author
IAMCCS (Account age: 2204days)
Extension
IAMCCS-nodes
Latest Updated
2026-03-27
Github Stars
0.08K

How to Install IAMCCS-nodes

Install this extension via the ComfyUI Manager by searching for IAMCCS-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter IAMCCS-nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load Images From Dir (Lite) πŸ“ Description

Efficiently loads and formats images from directories for AI art workflows, supporting batch processing.

Load Images From Dir (Lite) πŸ“:

The IAMCCS_LoadImagesFromDirLite node is designed to efficiently load a specified number of image files from a directory into a format suitable for further processing in AI art workflows. This node is particularly useful for artists and developers who need to handle large batches of images, as it provides a streamlined method to select and load images based on various criteria such as starting from the beginning, the end, or within a specified range. By converting images to a consistent format and size, it ensures compatibility and ease of use in subsequent processing steps. The node's ability to handle different loading modes and its robust error handling make it a valuable tool for managing image data in creative projects.

Load Images From Dir (Lite) πŸ“ Input Parameters:

mode

The mode parameter determines the method by which images are selected from the directory. It can be set to "from_start" to select images starting from the beginning of the list, "from_end" to select images from the end, or "range" to specify a custom range of images. This parameter allows you to control which subset of images is loaded, providing flexibility in how you manage your image data.

count

The count parameter specifies the number of images to load. It is used in conjunction with the mode parameter to determine the exact images that will be selected. This parameter is crucial for managing the volume of data being processed, ensuring that you only load as many images as needed for your task.

start_index

The start_index parameter is used when the mode is set to "range". It defines the starting point in the list of images from which to begin loading. This allows for precise control over which images are included in the batch, particularly useful when working with large datasets.

end_index

Similar to start_index, the end_index parameter is used in "range" mode to specify the endpoint in the list of images. It ensures that only images within the defined range are loaded, providing further control over the selection process.

Load Images From Dir (Lite) πŸ“ Output Parameters:

images

The images output is a tensor containing the loaded images, formatted and ready for further processing. This output is essential for integrating the loaded images into AI workflows, as it provides a standardized format that can be easily manipulated and analyzed.

frame_count

The frame_count output indicates the number of images successfully loaded. This information is useful for verifying that the correct number of images has been processed and can be used to adjust subsequent steps in the workflow if necessary.

report

The report output provides a summary of the loading process, including details such as the number of images loaded, the mode used, and the indices involved. This output is valuable for debugging and ensuring that the node has performed as expected.

Load Images From Dir (Lite) πŸ“ Usage Tips:

  • Use the mode parameter to efficiently manage large datasets by selecting only the images you need, reducing processing time and resource usage.
  • Ensure that all images in the directory are of the same size or use the node's resizing capability to maintain consistency across your dataset.
  • Utilize the report output to verify the success of the loading operation and to troubleshoot any issues with image selection.

Load Images From Dir (Lite) πŸ“ Common Errors and Solutions:

No files selected from <directory>

  • Explanation: This error occurs when the specified criteria do not match any files in the directory, possibly due to incorrect mode, count, or index values.
  • Solution: Double-check the directory path and ensure that the mode, count, and index parameters are set correctly to match the available files.

No images loaded from files

  • Explanation: This error indicates that none of the selected files could be loaded, possibly due to file format issues or read errors.
  • Solution: Verify that the files in the directory are valid image files and that they are accessible. Check for any errors in the file paths or permissions.

Load Images From Dir (Lite) πŸ“ Related Nodes

Go back to the extension to check out more related nodes.
IAMCCS-nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Load Images From Dir (Lite) πŸ“