View Single Post
Old 04-26-2022, 01:25 PM   #744
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,091
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by rabidread View Post
I think the most straightforward would be in the Select Image section to have a third options such as

{Current Cover}
{Default}
{Random Image}
Picture A.jpg
Picture B.jpg
Picture C.jpg
...

Load an array with the available file names; draw a random Integer (range check against # available) ; get the array[index]

Now you just need to know Python
theducks is online now   Reply With Quote