Problem/Motivation
Follow-up from #3384849: Different/wrong html when there is only one image
In #3384849: Different/wrong html when there is only one image we modified the photoswipe-gallery class logic.
Cases with a more-outside wrapper for a shared gallery now had to be implemented in the theme, using an override / hook.
For non-developers that's not perfect, because they can easily add classes through the UI in Fences or Views to do what's needed but can't get rid of the photoswipe-gallery class without coding. So let's add a setting to remove that class, where needed.
Steps to reproduce
See above
Proposed resolution
Add a setting to allow disabling the photoswipe-gallery class.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork photoswipe-3605485
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anybodyComment #6
anybodyComment #7
anybodyComment #8
anybodyJust found #2625984: Add gallery grouping options as a different approach to discuss. We should close one of them or combine them.
Let's discuss internally, what's the best approach.
Comment #10
anybody@grevil: Just one comment left.
Comment #11
anybodyComment #12
thomas.frobieterComment #13
grevil commentedTest failures are unrelated, but this issue still has the "Needs tests" tag and there is one comment left on the MR.
Comment #15
grevil commentedAlright, that should be it. Let's wait for the tests to succeed.
Comment #17
grevil commentedComment #19
anybodyNice @grevil!! :)
Let's tag a new release.