I make generators on Perchance.org and do a bunch of other cool things.
@mastodon.social
I make generators on Perchance.org and do a bunch of other cool things.
@BlueWorld2007 Welcome back!
@Alllo Fun fact: The plugin page itself was written to encourage users to upload to imgur at the time perchance.org/upload was not made yet. That's why these images still use the source from the imgur site. I've also never noticed they updated that to change it to perchance.org/upload.
@Gaipacub You *can* make the image plugin to generate images of these built-in sizes (in this case, the landscape) in a banner-sized image by setting the width and height options, however the result will be stretched out. Also, implementing that function in an image generator that uses the T2I framework will require modifying the framework directly so that the generator will output images in that size.
Here's my remix of the plugin example that does that job: https://perchance.org/yydmr1f4kn#edit
@Alllo Again, a wonderful plugin. Suggestions, you may want to put an instruction so that the plugin downloads the image by double-clicking in the plugin page. As for the plugin itself, you would add cursor: pointer to the style attribute of the image so that when someone hovers over the image, it'll show up a hand pointing cursor, so they'll know exactly.
@Alllo I think what I mean of "double-clicking to download" is that I also suggest an option so that the image will download when the image frame is double-clicked instead of just clicked. You could also reference how to do that in your plugin page. 😄
Btw, you can set padding: 8px or 12px in the div and p elements so there's more space to click (and tap for mobile screens, since the chance of mis-clicking will be highly reduced). The bigger the padding, the bigger the spaces are.
@dlcnate1 Exploring through the examples page and searching, I found multiple examples of how you can control the output based on dropdown menus:
https://perchance.org/drop-down-list-example#edit
https://perchance.org/...
https://perchance.org/...
It uses dynamic odds to determine which items should be picked based on what you select and stuff, but feel free to play around with those examples.
@perchance I just made an example page of demonstrating all of this *plus* the onLoadEnd and onSubmitButton events:
https://perchance.org/4x6vz44hpg
@shantismurf Try wrapping up the brackets of the array values with another set of brackets, like this:
travelarray = [['airport','train station','bus stop']]
Also, you can use location.evaluateItem to get a direct string of the value, so it'll be a valid filter.
@Alllo This is a neat plugin! Question, is this the ordinary CSS's filter function but it's "post-processing" so it could be used for the text-to-image outputs and the canvas, not just for HTML images?
Also, you should've written "alloimg" instead of "allo.img" in the list of filters in the example page 😄
@perchance Update: The Generator Manager is now at version 2.0.13, which delivers a bunch of changes optimized for mobile users and more!
@perchance I've also done the same with the-generator-hub-collection, and it yielded even weirder results. The admin comments didn't even hide, and I was still able to comment, even if I refreshed the page multiple times.
Have any of you tried this similar approach before?
thanks for using Leebra!
go to feed...