With helps and efforts, finally, In this testing gen everything seems working and fine testing gen
HOWEVER, when trying to implement the searching function with a real live gallery in gen here, the gallery won’t update at all!! (please note how the zoom function works smoothly)
because AI points that the iframe there isn’t working
<div style="width: 100%; height: calc(100% - 65px); overflow: hidden;">
<div id="galleryContentEl" style="width: 100%; height: 100%; transform: scale(1.0); transform-origin: 0 0;">
[image(settings.galleryOptions)]
</div>
</div>
So it recommended change it from that to this in this gen.
<div style="width: 100%; height: calc(100% - 65px); overflow: hidden;">
<div id="galleryContentEl">
<iframe class="text-to-image-plugin-gallery" src="https://perchance.org/friendly-notification-and-concept-board-animation" style="width:100%; height:100%; border:none; transform-origin: top center;"></iframe>
</div>
</div>
Yes, the searching function works!!. But now the zoom control is a mess; even if that’s fixable(harder than it seems); the side panel gallery in the lower right blue button isn’t loading at all.
(the side gallery is here <div id="chatIframe4" style="width: 100%; height: 100%; overflow: auto; zoom: 0.55; border-radius: 0.25rem;" hidden>[image(settings.galleryOptions)]</div>
)
Because I use and only only know vibe coding and now I am complete screwed and cannot vibing anymore. It seems somehow basic but I just cannot get it done because I know nothing.
Please, help!!!
Instead of manipulating the iframe src, I just re-instantiated the galleries with updated options: https://perchance.org/gwn80163bc
Used
createPerchanceTree
to create a new perchance list for the banned prompt phrases.:huh:
Thank you!! It solved 2 issues at once and I don’t know why Q_Q
and there’s another info: in that search freezing gen We could actually enable search, by toggle the dark/light theme switch once.
Which will sendupdate(galleryContentEl); // update the container that holds the gallery
It looks promising, but I added that on the search button or auto reloader, nothing happened.