The problem is that the image is not stretched to the size of the window in which it opens.
In settings:
width: 1920,
height: 1282,
This is the size of the window in which the image is displayed.
Where is it configured so that the image size matches the size of the lightbox?
I have split your posts and Pablo's replies into a new thread from the one I created.
Whilst the issue you raise has to do with cards, it is not specifically related to the thread I posted.