Workaround for the Fullscreen Preview Zoom Problem #1158
Replies: 2 comments
-
there is a better solution currently for the problem. -> #1167 the first comment by EvanGuanSF there solves the problem more directly instead of finding a workaround like me by adding hotkeys 🙌 |
Beta Was this translation helpful? Give feedback.
-
i have another solution for this, ive invented a external workaround for it https://github.com/zeittresor/timedviewer (but cant get it run from "inside" the webui (using a additional script called "sd-forge-scriptrun" i have written for forge.. currently the timedviewer is only working fine if i start it using "timedviewer.py -gui" from somewhere outside of the webui and select the output folder of the webui. here is the "sd-forge-scriptrun" script i have written for forge to run it from "inside" of the webui - i dont know whats wrong if i start it from webui it gives me some error in the console - i think it have something to do with the pygame library i am using in the timedviewer.py script but even if i put the dist into to \webui_forge_cu124_torch24\system\python\Lib\site-packages the error shows up (any suggestions - someone ?): sd-forge-scriptrun.py
scripts_list.txt
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there seams to be a problem with the left click on a preview image.. (not opening the fullscreen preview; only happens if working with a text2image batch)...
i found a little solution for me for that problem..
I've added another eventhandler to simple press the "*" (asterisk) key of your keyboard to switch to fullscreen preview.
Just open ..\forge\webui\javascript\imageviewer.js
After the last Line "});" put this:
Restart the UI,.. Its not always working (dont know why, but in most cases it works for me).
How ever in addition to that i have added this to press the "-" in fullscreen preview to reduce the zoom out by 10% at every keypress and the "+" key to zoom in. If you want to use it also just add this in addition below the code aboth:
Beta Was this translation helpful? Give feedback.
All reactions