You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, feimosi.
Thank you for baguetteBox.js.
For some reason I don't want to have multiple copies of the same image, but want to see image in lightbox with maximum size.
For this purpose I propose to change some css properties #baguetteBox-overlay .full-image img object:
width:80%
height:80%
max-width, max-height - delete
object-fit:contain, object-position:center - add
This will allow to fit a image with a relatively small size into the lightbox instead of creating several image copies with different sizes. If the original image has sufficient size and resolution, then in some cases this will be enough.
Maybe you consider it possible to add a new custom option like "fit".
With best regards, Vadim from Ukraine
The text was updated successfully, but these errors were encountered:
Hello, feimosi.
Thank you for baguetteBox.js.
For some reason I don't want to have multiple copies of the same image, but want to see image in lightbox with maximum size.
For this purpose I propose to change some css properties #baguetteBox-overlay .full-image img object:
width:80%
height:80%
max-width, max-height - delete
object-fit:contain, object-position:center - add
This will allow to fit a image with a relatively small size into the lightbox instead of creating several image copies with different sizes. If the original image has sufficient size and resolution, then in some cases this will be enough.
Maybe you consider it possible to add a new custom option like "fit".
With best regards, Vadim from Ukraine
The text was updated successfully, but these errors were encountered: