Using the text-to-image plugin I generate a bunch of [output]'s in the <div> container. How do I access the <img> tag that the output object creates, for example if I want to get the title to get nseed from it using java script, or there’s an easier way to do that? I’m trying to make a button over the image to perfect that seed easier. Also, how do I access the button with id “heartBtn” that [output] creates?
Maybe something like this:
output $output = [this.getRawListText.split('\n').slice(2).join('\n')] [s = seed.selectOne, ''] <div style="position:relative;"> <button style="position: absolute; left: 50%; bottom: 0%; transform: translate(-50%, -25%);" onclick="seeds.innerHTML += '[s]\r', this.disabled = true">Add to Seed History</button> [image(prompt)] </div> [s]<br> [lastTextToImagePrompt]<br>