Spyke

Replies

Comment on

I found an ironic thing

@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.

Comment on

Banner size image

@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

Comment on

[plugin] oneclickdownload for text to image

@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.

Comment on

[plugin] oneclickdownload for text to image

Reply in thread

@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.

Comment on

considering adding a selection menu to this generator

@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/dynamic-drop-down-list-example#edit
https://perchance.org/multi-dropdown-user-provided-pattern#edit

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.

Comment on

Variable arrays?

@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.