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

Allow custom class for img tag #45

Open
mdbenito opened this issue Sep 1, 2023 · 0 comments
Open

Allow custom class for img tag #45

mdbenito opened this issue Sep 1, 2023 · 0 comments

Comments

@mdbenito
Copy link

mdbenito commented Sep 1, 2023

Plugins like glightbox make images clickable / zoomable with a lightbox effect. This breaks this plugin's behaviour for cards (they don't work any more).

But if the img tag included a specific css class (any), it could be skipped with glightbox' option skip_classes.

For reference, setting images as backgrounds is a workaround in some cases

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