Like Ra's Naughty Forum
Software - Random Slideshow - Printable Version

+- Like Ra's Naughty Forum (https://www.likera.com/forum/mybb)
+-- Forum: Technical section (https://www.likera.com/forum/mybb/Forum-Technical-section)
+--- Forum: Various technical topics (https://www.likera.com/forum/mybb/Forum-Various-technical-topics)
+--- Thread: Software - Random Slideshow (/Thread-Software-Random-Slideshow)

Pages: 1 2


RE: Software - Random Slideshow - Like Ra - 22 Oct 2018

Some "built-in" tumblr site are dead, and are not consistent with their assigned type, but the concept is interesting, and very close to what you're working on.

And I would suggest to save the script, just in case.


RE: Software - Random Slideshow - gryxo - 23 Oct 2018

Yes, I think it could be a simple backup plan 😉
I really like the web based application, but I don't know anything about web development and I've got no time to learn. Maybe later 😉


RE: Software - Random Slideshow - Like Ra - 25 Dec 2018

This is another version of Gooninator:

https://github.com/ififfy/flipflip
https://www.reddit.com/r/sissyhypno/comments/a7k47h/flipflip_a_gooninator_replacement_that_uses_local/


RE: Software - Random Slideshow - Like Ra - 08 Nov 2019

Beta version of flipflip v3.0 with new UI:

https://github.com/ififfy/flipflip/releases/tag/v3.0.0-beta3


RE: Software - Random Slideshow - GCRhoads - 20 Dec 2020

(18 Oct 2018, 21:52 )gryxo Wrote: Hi,

While procrastinating on my random video player, I made a random slideshow player.

This dirty  script run on Python 3.

You just need to change the path to your picture folder. The script will scan it and then display the pictures on a window.

Here it is :

https://pastebin.com/5847He0C

Feel free to use, share and modify it 😉

Hope that someone find it useful.




Greetings,
gryxo

The syntax of Python must have changed.  To include certain special characters in a string, you need a two-key combo beginning with a backslash.  To get an actual backslash in a string, you need to use a double backslash.  Hence, the \ characters in the path string should be replaced with \\ in modern Python.

Also, you can resize the images so that they are as large as possible that fits into the display window while maintaining the same aspect ratio.  This is most useful when you have pictures that are larger than your screen size.  Blowing up small pictures will make the picture appear less sharp.  You can do this by adding a few lines to your code.

add "import ctypes" to the other import lines.

add the following two lines somewhere near the top after the imports.

user32 = ctypes.windll.user32
W, H = user32.getSystemMetrics(0), user32.getSystemMetrics(1)

Now add the following line to just before the line "photo = ImageTk.PhotoImage(image)"

image.thumbnail( (W,H), Image.ANTIALIAS )

That's it!


RE: Software - Random Slideshow - Like Ra - 20 Dec 2020

(20 Dec 2020, 10:26 )GCRhoads Wrote: The syntax of Python must have changed.
Possibly Windows vs UNIX?

Try this: https://github.com/ififfy/flipflip


RE: Software - Random Slideshow - Like Ra - 19 Mar 2021

(20 Dec 2020, 15:13 )Like Ra Wrote: Possibly Windows vs UNIX?

Try this: https://github.com/ififfy/flipflip
FlipFLip is still getting new releases: https://github.com/ififfy/flipflip/releases