Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When used with Protected Albums, preview image replacement is reversed #10

Open
EnigmaTriton opened this issue Sep 23, 2018 · 0 comments

Comments

@EnigmaTriton
Copy link

When using Protected Albums plugin, one can replace the preview image of the album with a specific one (for privacy purpose for instance).
However, the modus theme does not behave correctly on this front (behavior is correct at least with clear, dark, elegant and its variants, stripped and its variants, and smartpocket themes).

Steps to reproduce

  • In Piwigo, install modus theme and Protected Albums plugin (https://piwigo.org/ext/extension_view.php?eid=597)
  • Protect some album by a password and set an alternate preview image for it.
  • Look at the parent album (containing the protected one): the preview image is the original one.
  • Open the protected album (as the admin who set it up): all preview images are the alternate preview.

ℹ️ When a guest enter the protected album and provides the password, the album correctly shows the preview images for the content.

Expected behavior

  • When looking at the parent album, the preview image of the protected album is the alternate preview image set up by the Protected Albums plugin.
  • When looking at the protected album as admin (without having to provide the password), the individual previews are the respective preview of each image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant