Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Slideshow #228

Open
dlnetworks opened this issue Aug 21, 2023 · 1 comment
Open

[Feature Request] Slideshow #228

dlnetworks opened this issue Aug 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dlnetworks
Copy link

dlnetworks commented Aug 21, 2023

Would be great to have a slideshow button. Next to the button can be an input box to specify how many seconds to display each image. And if you want to polish it off, a fullscreen button as well =]

ideally all the normal keyboard shortcuts would work as the slideshow progresses...

@AlUlkesh AlUlkesh added the enhancement New feature or request label Aug 22, 2023
@siramods
Copy link

This comment is vaguely related but maybe useful to some (surely is for me). For the purpose of having a live slideshow of the generated images on a second monitor, I use the free IrfanView and a batch script I've concocted that goes like this (see at the end, just copy paste in a show.bat file in the txt2img/img2img folders). Ofc, change the "D:\EXE" part to match your irfan (or other viewer u have) installation. Basically it checks every second if new images are there and displays them, irfan handles de monitor and fullscreen part. In irfan options check the "only one instance" thingy. Cheers.

@echo off
set lastimage=""
:start
timeout 1 > nul
for /f "tokens=*" %%a in ('dir /b /s /OD /w *.jpg *.png') do set newest=%%a
if "%lastimage%" == "%newest%" goto start
set lastimage=%newest%
echo %lastimage%
start D:\EXE\IrfanView442_x64\i_view64.exe "%lastimage%"
goto start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants