There was a recent thread that has been deleted titled:
[allogen] just the most genericest generator ever
This generator had a nice feature to apply artists to the t2i plugin... but it had a LOT of external stuff going on plus performance-killing full-size page background images... as well as a lot of extra code and styles that I don't really need. I know @[email protected] commented on it.
Based on that gen, I figured it would be handy to have an artist plugin.. so I made one called "artist-plugin" so I could import it into t21 generators.
https://perchance.org/artist-plugin
Now I'm working on a demo generator using this plugin, and I'm 99.9% happy with it so far. I'm still doing minor tweaks to make it even cleaner. It's VERY basic:
https://perchance.org/aa3den2ecy
Everything is working perfectly EXCEPT:
When the page first loads, the artist that displays is NOT being used for the initial images that are displayed (because it's random from the plugin).
Clicking on the buttons (Artist name buttons or random Artist button) works as intended, and then everything is fine until the next page reload.
If you click the "Update Images" button BEFORE choosing an artist, everything is random and the artist title is not related to the images.
How can I get the Artist correct (in the heading AND in the prompts) on the first page load? Init? Store a variable? I'm sure I'm missing something silly and simple.
Thanx for any help!