Answer the question
In order to leave comments, you need to log in
How to fix a lightbox bug?
Comrades, here I have a lightbox plugin that displays gallery elements. In the plugin's source code, I corrected the width of the image (otherwise the images are of high resolution and they open sooo small) and now they are compressed like this for me. What do you advise ?
Answer the question
In order to leave comments, you need to log in
This is not the first time I am writing that the majority of people here are developers, and are more likely not psychics (I do not exclude that there are psychics who use their abilities in writing code), so find out what really happened and what is the mistake, by just one picture can not.
If all the same, psychics do not help you here in any way or you do not find a solution yourself, then I advise you to write a link to an interactive demo version, preferably in a code sandbox, codepen or jsfiddle. In this case, the chance that you will be helped will increase by an order of magnitude, ordinary mortal developers may be able to find a suitable solution for your problem for you.
Find out the class of the image in the lightbox and ask it:
width: auto!important;
height: auto!important;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question