skExtra - Multiple-Performer-Images

:placard: Summary Enable the possibility to have multiple performer images by a custom GUI inside the performer page.
:link: Repository https://github.com/shinekokunoichi/stash-plugins/tree/main/plugins/Extra/Multiple-Performer-Images
:information_source: Source URL https://shinekokunoichi.github.io/stash-plugins/main/index.yml
:open_book: Install How to install a plugin?


Enable the possibility to have multiple performer images by a custom GUI inside the performer page.

  • Simple GUI to choose and change custom images from the performer page
  • Have a set of preset name - portrait, clothed, skimpy and nude
  • Can create and use an unlimited amounts of custom name
  • Change the performer image with dots system
  • Can replace all performer preview with the selected default image
  • If Stash is in SFW mode will auto-change image to clothed if available
  • Can select a random image to display
3 Likes

Doesn’t work. No buttons appear. Nothing in the logs either.

I couldn’t install it manually either. But when I installed it using the available plugins, it worked.

However, I have a problem. When I click on “set custom images,” it only displays images from one of my galleries, even though I have several.

Make sure you download the shinobi-api too, that required.

Can you dm me on discord so i can help you with the problem?

Do you have the shinobi-api installed?

Really dig this. One issue and a couple wish list items for consideration.

Issue

  • When I have the shinobi-api plugin enabled anytime I try to scrape a scene from StashDB the save button spins forever and never saves. There is nothing in the log, however the below error shows in the browser console log. If I disable shinobi-api and only that plugin the error goes away. Took a lot of trial and error to figure out this was the cause.
VM284:1 Uncaught (in promise) SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at window.fetch (javascript:133:26)
    at K (SceneList-QNSCpqeN.js:1:43269)
    at g (OperationButton-BIcuUwfn.js:1:306)
    at Object.I01 (index-CcPORYqs.js:34:16406)
    at R01 (index-CcPORYqs.js:34:16563)
    at H01 (index-CcPORYqs.js:34:16623)
    at Dq (index-CcPORYqs.js:34:36007)
    at K3e (index-CcPORYqs.js:34:36426)
    at index-CcPORYqs.js:34:41440
window.fetch @ javascript:133
K @ SceneList-QNSCpqeN.js:1
g @ OperationButton-BIcuUwfn.js:1

Wish List

  1. Is it possible to maintain the order of the categories so whatever you select they are always in the same order as listed in the preset? It seems like whatever you select just gets tacked on to the end so they kind of scramble up. Keeping the same order let’s you create a sort of sequence of images. (ex. dressed → nude)
  2. The selection previews being square makes sense to make the layout a grid, however it can sometimes crop too much to be useful in selecting. Some options on the previews would be nice (larger size, portrait aspect ratio)
  3. Selection preview filter. For performers with loads of images it can be a bit unwieldy. If you could filter down to a tag then that would help.

Thanks for the suggestion. About shinobi-api i will make a fix fast as possible. For your suggestion if i can i try to upload a newer version with all of them otherwise i’ll set them in github as suggesion and you will able to control the update status from there

1 Like

Updated Shinobi-Api with the fix

1 Like

I have the shinobi-api installed. Inspecting the page I get these errors:

GitHub · Where software is built added your feature request

1 Like

For anyone experiencing this error. I’ts a compatibility issue with Stash TV

2 Likes