Hi @testUser,
Thank you for posting in this community.
Per my knowledge, SharePoint Online does not have the ability to open images on a lightbox.aspx page. This is unique to SharePoint Server.
Can you share the screenshots and URLs of your images that open as a lightbox page on SharePoint Online for me to see? Please be careful not to disclose your private information.
The images that I have open in my SharePoint Online document library also have a lightbox-like feature, where clicking on the button in the upper right corner closes the image.
For images that do not open in lightbox mode, try the following things:
- Are other users facing the same problem? View through another computer or account.
- Whether all SharePoint libraries have the same problem? You could create a new SharePoint library to check.
- Check if the same issue occurs with other SharePoint site collections.
- You could try to clear browser cache then restart it.
- Try to use a different browser or your browser's InPrivate mode to see if the same problem occurs.
- You can create a Picture Library to store images (This app you can find it in classic experience). This Library is another type of library that is designed for photos and images. Please check if the image opens as a lightbox in this library.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.