ComfyUI-Custom-Scripts icon indicating copy to clipboard operation
ComfyUI-Custom-Scripts copied to clipboard

Preview image is not showing ......

Open S4MUEL-404 opened this issue 10 months ago • 32 comments

Image

Image

I remember that in the past, thumbnail images would appear, and there would be a "*" symbol next to the Lora name. Now, there’s nothing.

S4MUEL-404 avatar Feb 20 '25 08:02 S4MUEL-404

I have the same problem.

NyaamZ avatar Feb 21 '25 17:02 NyaamZ

I have this issue with both the Lora and Model loader.

PhoenixRogers88 avatar Feb 24 '25 20:02 PhoenixRogers88

same old bugs keep popping up every time when push an update.

qq515648583 avatar Feb 25 '25 08:02 qq515648583

Looking at rgthree's commits they reference a change to Comfyui's backend that messes with how the preview information is served.

https://github.com/rgthree/rgthree-comfy/commit/32142fe476878a354dda6e2d4b5ea98960de3ced

Disabling rgthree does not fix this issue, but whatever they did didn't either it seems.

zefyr0s avatar Feb 26 '25 15:02 zefyr0s

Can you tell us which file it is? I would like to try Deepseek to modify the code

ZiYao00 avatar Feb 27 '25 03:02 ZiYao00

When they will find a solution !!! Like without hands!)))

Morbleh avatar Feb 28 '25 17:02 Morbleh

when use main ver 0.3.14,the loader works well,but if update to 0.3.15, "*" and preview would disappear. if back to 0.3.14, they will back.

trueninja avatar Mar 01 '25 09:03 trueninja

You can eat that they will fix it or not!?

Morbleh avatar Mar 03 '25 00:03 Morbleh

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled. Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

pythongosssss avatar Mar 08 '25 20:03 pythongosssss

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled. Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

Image

sadly , it still shows no preview image of models. and I found that pysssss loader even became like this.(but other loader shows name correctly , but no preview) im using the comfyui 0.3.26 .

RATRAT666 avatar Mar 09 '25 14:03 RATRAT666

I've rewritten this functionality so hopefully it shouldn't break so often in future (and hopefully is now working!)

I've changed the submenu to be a nested tree in the same menu so filtering works on these lists now if you have submenu enabled. Also added an additional display mode (Settings -> pysssss -> Combo++ -> Lora/Checkpoint loader display mode) for a grid thumbnail mode.

If i change my comfyui back to 0.3.14, everything works fine.

RATRAT666 avatar Mar 09 '25 14:03 RATRAT666

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]

Image

and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)

I also check here and originally the field was empty by default

Image

when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in

Edit: Also in list view my previews are back

DarkenedShade avatar Mar 11 '25 00:03 DarkenedShade

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象]

Image and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中)

I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空

Image when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹

Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

RATRAT666 avatar Mar 11 '25 11:03 RATRAT666

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象] Image and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中) I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空 Image when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹 Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

I have updated pysssss, comfyui and everything else because i thought it was fixed but sadly it's not. The tree view gives the [Object object] view and the List as well as the Grid view do not bring back the preview images for me.

If you want to use the newest version of ComfyUI but still have the preview images you can use the old frontend side which still has working preview images. Just attach " --front-end-version Comfy-Org/[email protected]" to the starting parameter of your comfyui start script.

I hope this will be resolved soon too, i miss my preview images 😂 But i know pythongosssss is giving his best and is providing us with all of this for free, to which i'm eternally grateful 🫡🫶

vslinx avatar Mar 12 '25 11:03 vslinx

The last working frontend was version 1.9.1. Unfortunately, I can no longer load it since I completely updated ComfyUI:

ERROR: Could not find a version that satisfies the requirement comfyui-frontend-package==1.9.1 (from versions: 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.11.6, 1.11.7, 1.11.8, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.13.0, 1.13.1, 1.13.2, 1.13.3) ERROR: No matching distribution found for comfyui-frontend-package==1.9.1

It doesn't work up to v1.13.3, the most recent version at the moment, regardless of the custom nodes, whether RGthree or EasyUse, or here.

murphylanga avatar Mar 12 '25 13:03 murphylanga

The last working frontend was version 1.9.1. Unfortunately, I can no longer load it since I completely updated ComfyUI:

ERROR: Could not find a version that satisfies the requirement comfyui-frontend-package==1.9.1 (from versions: 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.11.6, 1.11.7, 1.11.8, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.13.0, 1.13.1, 1.13.2, 1.13.3) ERROR: No matching distribution found for comfyui-frontend-package==1.9.1

It doesn't work up to v1.13.3, the most recent version at the moment, regardless of the custom nodes, whether RGthree or EasyUse, or here.

weird, i am able to go down in the frontend version to 1.8.14 even with ComfyUI version 0.3.26. Image

But sadly the trick doesn't work anymore nontheless because of the new implementation of the way the preview images are being loaded. Last comfyui version i can confirm it working with was the 0.3.18, but since i've upgraded yesterday to 0.3.26 i'll also have to work without preview images for now. 🥲

vslinx avatar Mar 13 '25 00:03 vslinx

I had a similar error happen when I loaded up my workflow all my lora names were [object Object]我加载我的工作流时遇到了一个类似的错误,所有我的 lorawan 名称都变成了[对象对象] Image and the dropdown was only showing the models in the base directory ( I have most of mine in external directories)下拉菜单只显示了基础目录中的模型(我的大多数模型都在外部目录中) I also check here and originally the field was empty by default我也在这里检查过,最初该字段默认为空 Image when trying the other modes list and thumbnails seem to work but tree still doesn't show the folders that my models are stored in尝试其他模式列表时,缩略图似乎可以正常工作,但树视图仍然没有显示我的模型存储的文件夹 Edit: Also in list view my previews are back编辑:列表视图中我的预览也回来了

does this mean your problem has been solved ? which version of comfyui u r using ? I 'm still in 0.3.14 .

I have updated pysssss, comfyui and everything else because i thought it was fixed but sadly it's not. The tree view gives the [Object object] view and the List as well as the Grid view do not bring back the preview images for me.

If you want to use the newest version of ComfyUI but still have the preview images you can use the old frontend side which still has working preview images. Just attach " --front-end-version Comfy-Org/[email protected]" to the starting parameter of your comfyui start script.

I hope this will be resolved soon too, i miss my preview images 😂 But i know pythongosssss is giving his best and is providing us with all of this for free, to which i'm eternally grateful 🫡🫶

I'm using 3.30.2 I added the " --front-end-version Comfy-Org/[email protected]" parameter and now the image preview is working for me! thx💕

kotoha0w0 avatar Mar 14 '25 10:03 kotoha0w0

I've fixed a couple of issues (a crash with subfolders, and fixing old widget values), I'm not fully convinced this will fix all the problems people are having.

I've tested using the latest frontend 1.13.6, and can't recreate any issues in Firefox/Edge/Chrome on Windows: Image

List (normal): Image

Tree (subfolders): Image

Thumbnails (grid): Image

I'm not sure if there is some incompatibility with other custom nodes but if there are still issues can you please ensure you have the latest version of ComfyUI frontend (1.13.6) & custom scripts (check the Combo++ display mode setting name, it should be exactly 🐍 Lora & Checkpoint loader display mode NOT with a / in it) Image

Then if could please try without other custom nodes installed and check the browser devtools console for any errors (Firefox: https://firefox-source-docs.mozilla.org/devtools-user/, Chrome/Edge: https://developer.chrome.com/docs/devtools/overview#open)

pythongosssss avatar Mar 16 '25 12:03 pythongosssss

I've fixed a couple of issues (a crash with subfolders, and fixing old widget values), I'm not fully convinced this will fix all the problems people are having.

I've tested using the latest frontend 1.13.6, and can't recreate any issues in Firefox/Edge/Chrome on Windows: Image

List (normal): Image

Tree (subfolders): Image

Thumbnails (grid): Image

I'm not sure if there is some incompatibility with other custom nodes but if there are still issues can you please ensure you have the latest version of ComfyUI frontend (1.13.6) & custom scripts (check the Combo++ display mode setting name, it should be exactly 🐍 Lora & Checkpoint loader display mode NOT with a / in it) Image

Then if could please try without other custom nodes installed and check the browser devtools console for any errors (Firefox: https://firefox-source-docs.mozilla.org/devtools-user/, Chrome/Edge: https://developer.chrome.com/docs/devtools/overview#open)

running a new comfyui installation without any custom nodes apart from CustomScripts restores the preview function on comfyui 0.3.26 and frontend 1.12.14 and up. (Tested on 1.12.14 and 1.13.6 as 1.12.14 was the default frontend version a fresh installation started with).

In my current setup with everything updated the previews sadly still do not work, but that may be interference with another custom node, sadly the console output isn't really helpful as it doesn't throw any errors or warnings that'd hint to the issue.

Guess i'll have to disable each custom node now and see which one is causing the problems 🫡

Thank you for your hard work!

Edit: The one causing the issue was the EasyUse Node from yolain (who opened the pull request in the comfyui repo). The EasyUse Node is also the one responsible for the [Object object] error in the tree view. I don't know if this issue will be fixed soon in the EasyUse custom node but you don't have to disable the whole node entirely. It's enough to go into the settings and turn off the model preview thumbnails and the automatic nesting of subdirectories as seen here: Image

This will let you use both custom nodes while keeping your preview images with the new patch from @pythongosssss :)

Image

vslinx avatar Mar 16 '25 14:03 vslinx

Hello pythongosssss, first of all, thank you so much for your work. I just discovered another conflict. When the RGThree nodes are set to Auto Nest Subdirectories in the menus, the same problem occurs: thumbnails aren't displayed, and the subdirectories aren't displayed correctly.

This needs to be disabled for now:

Image

murphylanga avatar Mar 16 '25 16:03 murphylanga

Just to add here, newest version of comfy, disabled auto-nest in rgthree otherwise it breaks custom's previews.

Easy-use settings do not seem to interfere, so the auto-nesting from that still works (for nodes other than custom scripts' - but you also lose the fancy new trees).

Love your nodes and the new tree-selection is great!

zefyr0s avatar Mar 17 '25 13:03 zefyr0s

Can someone confirm that this still work for the newest front end 1.14.0?

laritz2001 avatar Mar 17 '25 16:03 laritz2001

This workaround also work with 1.14.0

murphylanga avatar Mar 17 '25 16:03 murphylanga

I am having a lot of trouble understanding the behavior of the lora previews. Upon loading Comfyui, the initial inquiry into my loras menu display the tree organization and previews, upon second inquiry it switches over to list with no previews.

In addition refreshing with F5 will allow me to see the previews one more time. However after disabling all other nodes in the extension menu, and only leaving the combo++, refreshing with F5 no longer works.

My current working theory is that there is some dependency or interaction that gets overwritten after the first inquiry into the lora menu.

laritz2001 avatar Mar 18 '25 01:03 laritz2001

Portable comfy v0.3.25 with new update of Custom-Script: Nesting seems to be back, but I'm currently hovering "Style", not character, so almost there? Image

Checkpoint Loader seem to be better, but preview image still now displaying:

Image

DeepSeaCatz avatar Mar 18 '25 06:03 DeepSeaCatz

Image

preview imgae is back. but only in pysss 's loader. i remenber it worked even in other loader earlier. like comfyui 0.3.14

RATRAT666 avatar Mar 19 '25 06:03 RATRAT666

After verification, it was found that as long as the following two plug-ins are disabled, the core node model preview and custom-scripts node model preview can be realized

Image

Image

Image

Image Image Image Image Image Image

kaiery avatar Mar 20 '25 01:03 kaiery

Image

Oh snap finally! That is working! I am not sure if there would be a way to edit the Custom Scripts code to bypass these 2 settings or if that is now the norm for it to work. Image

Image

DeepSeaCatz avatar Mar 21 '25 03:03 DeepSeaCatz

Thanksssssssssssss. This issue had been troubling me for a whole month, and it's finally resolved. Although the List Mode doesn't support subfolder hierarchy, the Tree Mode works perfectly, and that's more than enough.

ZiYao00 avatar Mar 26 '25 03:03 ZiYao00

If this helps in the interim - I fixed this by Disabling these Node Options here:

Image

Image

Then enabling this here:

Image

lord-lethris avatar Mar 28 '25 16:03 lord-lethris