4
submitted 1 week ago* (last edited 6 days ago) by [email protected] to c/[email protected]

Just started happening within the past 12 hours or so. Anyone else having this problem?

I know that @[email protected] was working on gallery filters.. maybe this is related and hopefully temporary?

EDIT: This seemed to be fixed for a while but it is happening again. This time, the "Network failure" error message takes a lot longer before being displayed.

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 1 week ago

Several tries... I've seen it before, and yes, it always saved on the second try in the past. This time, it wouldn't save at all after 5 or 6 tries - which is why I finally posted about it. I also tried saving to different galleries, etc.

This lasted for quite a few hours, but it seems to be working again, now.

[-] [email protected] 2 points 1 week ago

There is a new private gallery option (on t2i-framework-plugin based generators e.g. ai-character-generator) that saves the image and image inputs on your device directly and doesn't save it to server if you don't need to share it publicly and just want to save the image.

[-] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Hm.. that sounds REALLY cool, but I'm not sure I want to import the framework just for that functionality. My main gen is pretty clean, and the framework has a lot of stuff that I don't need or use.

I'm not seeing the new private gallery interface on: https://perchance.org/ai-character-generator (?)

I see that it's based on the "create-media-gallery-plugin" - but the demo gallery button on that page (https://perchance.org/create-media-gallery-plugin) doesn't work for me. Clicking the button does nothing.

Do you have a working demo in any of your image gens that's using it? Or better yet, a stripped down standalone "Private Gallery" plugin?

[-] [email protected] 2 points 1 week ago* (last edited 1 week ago)

It seems to be activated on ai-text-to-image-generator. Here is a simple example of how to use it: https://perchance.org/create-media-gallery-plugin-example-with-t2i

Essentially you just want to select the iframe, then access the textToImagePluginOutput property of that element to get the inputs, turn the image into a blob, then use the function to save it on the gallery.

EDIT Here is a text-to-image-plugin which has a create-media-gallery-plugin wrapper on the generated images - https://perchance.org/t2i-with-create-media-gallery that you can substitute to the text-to-image-plugin import,

[-] [email protected] 1 points 6 days ago

Thanks for your help! I guess I misunderstood when you said "New private gallery option". This doesn't appear do anything different than the default t2i output provides - without using the additional plugin import:

I never even use the "Save to your device" button - I just use: Right-click generated image > "Open in new tab" > Save image

Also, in BOTH of your example links the "Show Gallery" buttons do nothing in my browser (Firefox).

[-] [email protected] 1 points 6 days ago* (last edited 6 days ago)

The image you linked is still the 'public' gallery of the text-to-image-plugin, just that you are using a different gallery location. The new private gallery is fully private as it saves the info locally and doesn't send it to the server.

The new send to private gallery is beside the 'persona' button on the ai-text-to-image-generator and the button to open it is on the bottom middle of the screen. The buttons have the 🛡️ emoji.

On the page that I linked second, which wraps the text-to-image-plugin with the buttons for the private gallery, shows the following on Firefox:

Where the 'Show' will show the gallery and 'Add to' will add to the gallery. Clicking the 'Show' should open something like this:

Then when you click 'Add to', an alert should popup:

Then when you click the 'Show' again, it would reflect the new added image to the private gallery.

On the two examples I made, I have also disabled the 'public' gallery with the hideGalleryButtons setting of the text-to-image-plugin which is why it doesn't show:

[-] [email protected] 1 points 6 days ago

Okay...

The browser that I use for Perchance is Floorp (based on Firefox). I'm using the latest version (11.14.1 (64-bit)) that will run on my older Mac OS.

On your example page (t2i-with-create-media-gallery), the "Add to" button shows the popup confirmation, but the "Show" button does nothing.

On the ai-text-to-image-generator page, The "Private Save" and "Show Private Gallery" buttons do nothing. The "Generate Persona" function seems to work fine.

Same results in Opera (Chromium version:116.0.5845.188)

Same results in Brave (Version 1.57.64 Chromium: 116.0.5845.188 (Official Build) (x86_64))

Out of curiosity, I tested Firefox - 102.6.0esr (64-bit)... ... and it DOES work! At least on the ai-text-to-image-generator page.

On your t2i-with-create-media-gallery page however, when clicking the "Add to" button, it throws a perchance error.

I was surprised at these results, because usually the Chrome browsers handle newer code better than the older version of FF that I'm using.

I guess I'll have to decide if I want to switch to the version of Firefox that works, and then implement the Private Gallery functionality into my generator(s). I'm not sure it's worth it for what I'm doing.

Thanks again for your help.

[-] [email protected] 1 points 6 days ago

I've changed the .closest(':has(iframe') to another code, can you try if that works?

I'm not sure if the problem is with the create-media-gallery-plugin or the t2i-framework-plugin-v2 on the ai-text-to-image-generator page. I'm on Edge, latest version (also tested on Firefox, Chrome) on Windows and it seems to work.

[-] [email protected] 1 points 2 days ago

Same error on line 18, except no function error.

this post was submitted on 30 May 2025
4 points (100.0% liked)

Perchance - Create a Random Text Generator

768 readers
18 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 2 years ago
MODERATORS