ComfyUI_Comfyroll_CustomNodes
ComfyUI_Comfyroll_CustomNodes copied to clipboard
CR_LoadImageListPlus
I’ve noticed an issue in the CR_LoadImageListPlus class where it consistently processes one less image than specified. The problem appears to be in the calculation of end_index in the make_list method: end_index = min(start_index + max_images, len(file_list) - 1) By subtracting 1 from len(file_list), the end_index skips the last image in the directory. To fix this, you can modify the code as follows: end_index = min(start_index + max_images, len(file_list)) This will ensure that all images up to the specified max_images count are included in the output, without skipping the last one.
Thank you for the useful plugin, and I hope this helps improve it!
Best regards,
I also encountered the same problem