ComfyUI > Nodes > D2 Nodes ComfyUI > D2 Folder Image Queue

ComfyUI Node: D2 Folder Image Queue

Class Name

D2 Folder Image Queue

Category
D2/Image
Author
da2el-ai (Account age: 713days)
Extension
D2 Nodes ComfyUI
Latest Updated
2025-05-04
Github Stars
0.03K

How to Install D2 Nodes ComfyUI

Install this extension via the ComfyUI Manager by searching for D2 Nodes ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter D2 Nodes ComfyUI 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

D2 Folder Image Queue Description

Efficiently manage and process images in a specified folder by queuing them for structured batch processing.

D2 Folder Image Queue:

The D2 Folder Image Queue node is designed to efficiently manage and process images stored within a specified folder. Its primary function is to queue images for processing, allowing you to handle multiple images in a structured manner. This node is particularly beneficial for tasks that require batch processing of images, such as applying filters or transformations to a series of images. By organizing images into a queue, it ensures that each image is processed in a systematic order, which can be sorted by name, date, or randomly. This node is essential for workflows that involve large sets of images, providing a streamlined approach to image management and processing.

D2 Folder Image Queue Input Parameters:

folder

This parameter specifies the directory path where the images are stored. It is crucial for the node to know where to look for the images to queue. The default value is an empty string, indicating that no folder is specified initially.

extension

This parameter defines the file extension of the images to be processed, allowing you to filter images by type. The default value is *.*, which means all file types are included. You can specify extensions like .jpg or .png to narrow down the selection.

sort_by

This parameter determines the criteria for sorting the images in the queue. Options include "Name", "Date", and "Random", with "Name" being the default. Sorting by name or date can help maintain a logical order, while random sorting can be useful for varied processing.

order_by

This parameter sets the order in which the images are sorted, either "A-Z" or "Z-A". The default is "A-Z", which sorts images in ascending order. This can be adjusted to suit your processing needs, such as reversing the order for specific tasks.

start_at

This parameter indicates the starting index for processing images in the queue. It is an integer with a default value of 0, allowing you to skip a certain number of images if needed.

auto_queue

This boolean parameter determines whether the images should be automatically queued for processing. Enabling this feature can streamline workflows by automatically managing the queue without manual intervention.

image_count

This optional parameter provides a simple text display of the total number of images in the queue. It helps in understanding the scope of the batch processing task.

queue_seed

This optional parameter is used to seed the random sorting of images, ensuring reproducibility in cases where images are sorted randomly.

progress_bar

This optional parameter, when enabled, displays a progress bar to visually indicate the progress of the image processing task, enhancing user experience by providing feedback on task completion.

refresh_btn

This optional parameter provides a button to refresh the image queue, allowing you to update the list of images if changes are made to the folder contents.

D2 Folder Image Queue Output Parameters:

image_path

This output parameter provides the file path of the current image being processed. It is essential for identifying which image is currently in the queue and being worked on.

image_count

This output parameter indicates the total number of images in the queue. It is useful for understanding the size of the batch and tracking progress through the queue.

D2 Folder Image Queue Usage Tips:

  • Ensure the folder path is correctly specified to avoid errors in locating images.
  • Use the sort_by and order_by parameters to organize images in a way that best suits your processing needs, such as chronological order for time-based tasks.
  • Utilize the auto_queue feature to automate the queuing process, saving time and reducing manual effort.
  • Regularly use the refresh_btn to update the queue if new images are added to the folder during processing.

D2 Folder Image Queue Common Errors and Solutions:

"Folder not found"

  • Explanation: This error occurs when the specified folder path does not exist or is incorrect.
  • Solution: Double-check the folder path for accuracy and ensure it is accessible.

"No images found with the specified extension"

  • Explanation: This error indicates that no images matching the specified extension were found in the folder.
  • Solution: Verify the extension parameter and ensure that images with the correct extension are present in the folder.

"Index out of range"

  • Explanation: This error happens when the start_at index exceeds the number of images in the queue.
  • Solution: Adjust the start_at parameter to a valid index within the range of available images.

D2 Folder Image Queue Related Nodes

Go back to the extension to check out more related nodes.
D2 Nodes ComfyUI
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 Playground, enabling artists to harness the latest AI tools to create incredible art.