Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently manage and retrieve images from specified folders for AI artists, streamlining organization and access.
The D2 XY Folder Images node is designed to facilitate the management and retrieval of images stored within a specified folder. This node is particularly useful for AI artists who need to organize and access large collections of images efficiently. By allowing you to specify sorting and ordering preferences, the node provides a streamlined way to handle image files, making it easier to integrate them into your creative workflows. The node's primary function is to gather images from a folder based on user-defined criteria, ensuring that you can quickly access the images you need without manually sifting through directories. This capability is essential for maintaining an organized workspace and optimizing the creative process.
This parameter specifies the directory path from which images will be retrieved. It is crucial for defining the source location of your image files. The default value is an empty string, indicating that no folder is selected initially. You should provide a valid folder path to ensure the node can access the desired images.
This parameter allows you to filter images by their file extension, enabling you to focus on specific types of image files, such as .jpg
or .png
. The default value is *.*
, which means all file types are included. Adjusting this parameter helps in narrowing down the selection to relevant image formats.
This parameter determines the criterion used to sort the images within the folder. Options include "Name," "Date," and "Random," with "Name" being the default. Choosing the appropriate sorting method can help you organize images in a way that aligns with your workflow, whether by chronological order or alphabetical arrangement.
This parameter specifies the order in which the images are sorted, either "A-Z" or "Z-A." The default is "A-Z," which arranges images in ascending order. This setting is useful for reversing the order of images if needed, providing flexibility in how you view and access your image collection.
An optional parameter that allows you to specify the number of images to be processed. This can be useful for limiting the scope of image retrieval, especially when dealing with large folders. There is no default value, and it is left to the user's discretion to define if needed.
Another optional parameter, this is used to set a seed value for queuing operations, which can be beneficial for ensuring consistent processing order in certain scenarios. It does not have a default value and is typically used in more advanced configurations.
This optional parameter provides a button interface to refresh the image list, ensuring that any changes in the folder's contents are updated in real-time. It is particularly useful for dynamic environments where images are frequently added or removed.
This output provides a string representation of the list of images retrieved from the specified folder. It is formatted to be easily readable and can be used for further processing or display purposes.
This output is a list of image file paths that have been retrieved based on the input parameters. It serves as a direct reference to the images, allowing for easy access and manipulation within your workflow.
This output returns an integer representing the total number of images retrieved from the folder. It provides a quick overview of the size of the image collection, which can be useful for planning and resource management.
folder
parameter is set to the correct directory path to avoid errors in image retrieval.extension
parameter to filter out unnecessary file types, which can help in focusing on relevant images and improving processing efficiency.refresh_btn
to update the image list, especially in environments where the folder contents change frequently.extension
parameter if necessary.sort_by
or order_by
parameters.sort_by
and order_by
are selected from the available options: "Name," "Date," "Random" for sort_by
and "A-Z," "Z-A" for order_by
.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.