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
picture in picture #212
Comments
|
Where is this happening, can you post the layout? |
Joomla 4.1.4, editor - CodeMirror. Code after: |
|
@mediafoks I'm sorry for the late response here, I thought I have answered on this issue... If this is something not created by a plugin or an editor button then you shouldn't use picture element because that will be automatically created by the plugin. Eg instead of manually writing <a class="cap-zoom" href="/images/home/gekkold-hitema_01.jpg" data-lightgallery="photo">
<picture>
<source type="image/webp" srcset="/images/home/tmb/gekkold-hitema_01--tmb.webp">
<img src="/images/home/tmb/gekkold-hitema_01--tmb.jpg" alt="About">
</picture>
</a>just write <a class="cap-zoom" href="/images/home/gekkold-hitema_01.jpg" data-lightgallery="photo">
<img src="/images/home/tmb/gekkold-hitema_01--tmb.jpg" alt="About">
</a>That will prevent the Picture in Picture. If this is a generated HTML from some plugin then you can add the directory |
|
Thanks |

Hello!
If there is already an PICTURE on the page, then the plugin also processes them and it turns out like this:
How to exclude existing PICTUREs from processing by the plugin?
The text was updated successfully, but these errors were encountered: