There are cases where users may want to trigger an Image Lightbox on images that are part of the document header. For instance: on this page containing a header image, in case an image modal were present (there is none on this example, it’s just for illustration purpose), the user would expect to cycle through all images including the one in the header, since it can be considered as “content” indeed.
I’m trying to implement this scenario for an application and I was wondering if it would make sense more generally to expand the default scope of the Image Lightbox to
.xcontent rather than the current
#xwikicontent or if you see any downside with this approach?
Related Jira issue that I created too early in the process: [XWIKI-19627] Expand Lightbox scope to also include images in the document title area - XWiki.org JIRA
Cheers & Thanks