Skip to content

performer-poster-backdrop: compatibility with Stash v0.31.1#703

Merged
DogmaDragon merged 3 commits intostashapp:mainfrom
Stash-KennyG:fix/performer-poster-backdrop-stash-v0.31.1
Apr 16, 2026
Merged

performer-poster-backdrop: compatibility with Stash v0.31.1#703
DogmaDragon merged 3 commits intostashapp:mainfrom
Stash-KennyG:fix/performer-poster-backdrop-stash-v0.31.1

Conversation

@Stash-KennyG
Copy link
Copy Markdown
Contributor

Summary

Compatibility fix for Stash v0.31.1 (no change to plugin tuning: opacity, blur, Y-offset, per-performer overrides).

Problem

Core UI now renders BackgroundImage (.background-image-container) inside the same .detail-header as the plugin’s .pb-hero. With both present, the header looked like a double stack and pushed performer details down.

Solution

  • Add pb-has-hero on the header when the hero is shown; remove it in removeHero.
  • CSS: hide .background-image-container when .pb-has-hero is present.
  • Clear hero/class when the poster image is missing.
  • Version 1.0.4; README note about interaction with Stash’s Enable performer background image.

Testing

Manual check on performer page with plugin enabled (v0.31.1-style DOM).

Made with Cursor

…e backdrop)

Stash now renders BackgroundImage inside the performer detail header when
'Enable performer background image' is on. The plugin's .pb-hero stacked
with that layer caused a double-header layout. Hide the native container
when our hero is active (pb-has-hero), clear class on teardown, and bump
to 1.0.4. No change to plugin tuning behavior.

Made-with: Cursor
@Stash-KennyG
Copy link
Copy Markdown
Contributor Author

This gives customization to the default stash behavior - worth fixing if it's still out there. I PR'd to both the upstream and downstream.

Comment thread plugins/performer-poster-backdrop/.gitignore Outdated
@DogmaDragon DogmaDragon added the type:plugin Plugins label Apr 16, 2026
Cursor got a little over zealous.
@DogmaDragon DogmaDragon merged commit 589983b into stashapp:main Apr 16, 2026
1 check passed
@discourse-stashapp
Copy link
Copy Markdown

This pull request has been mentioned on Stash Forum. There might be relevant details there:

https://discourse.stashapp.cc/t/performer-poster-backdrop/4897/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants