Odd width images in gallery zoomwall.js. Where is the style, if zoomwall.there is no css style for the width?

Apart gallery zoomwall.js. Put the 2 images of small resolution 300x300 600x600 and more. But they still specify width=50% attribute of a tag, although zoomwall.this css style is not. How to cancel it?

zoomwall.css:
.zoomwall {
 font-size: 0;

 overflow: hidden; 
}

.zoomwall img {
 height: 15vw;
 opacity: 1;
 vertical-align: top;

 transform-origin: 0% 0%;
 transition-property: transform, opacity;
 transition-duration: 0.3 s;
 transition-timing-function: ease-out;

 -webkit-transform-origin: 0% 0%;
 -webkit-transition-property: transform, opacity;
 -webkit-transition-duration: 0.3 s;
 -webkit-transition-timing-function: ease-out;
}

.zoomwall.lightbox img {
 transition-timing-function: ease-in;
 -webkit-transition-timing-function: ease-in;
}

.zoomwall.lightbox img {
 opacity: 0.3;
}

.zoomwall.lightbox img.active {
 opacity: 1;
}


HTML:



 <meta charset="UTF-8">
 <meta name="viewport" content="width=device-width">
<title>Waxom</title>

 <link rel="stylesheet" href="css/zoomwall.css">
 <link rel="stylesheet" href="css/style.css">




 <div id="gallery" class="zoomwall">
 <img src="http://tomskpress.ru/images/tomsk/news/mini/2012/08/44e1ae378c4c4685ae15ab7127bee817.jpg" data-highres="http://ural.mchs.ru/upload/site2/document_news/UklaLJCeqA-previe-reduce200.jpg">
 <img src="http://tomskpress.ru/images/tomsk/news/mini/2012/08/44e1ae378c4c4685ae15ab7127bee817.jpg" data-highres="http://ural.mchs.ru/upload/site2/document_news/UklaLJCeqA-previe-reduce200.jpg">
</div>

<script src="js/script.js"></script>
<script src="js/zoomwall.js"></script>

the <script>
 window.onload = function() {
zoomwall.create(document.getElementById('gallery'));
};
</script>




But the style attribute
3pC4lSxPl8Y.jpg
July 4th 19 at 23:40
1 answer
July 4th 19 at 23:42
But height is.
and in more detail? vw is tied to the width of the viewport, you figure it out. But I still could not get it remapped via the style file style.css. Even the removal of this property from zoomwall.css did not help. - Kyler.Schroeder74 commented on July 4th 19 at 23:45
clearly, using js is made to the width to make maximum use of - Kyler.Schroeder74 commented on July 4th 19 at 23:48
But, I did not finish in the last screenshot.
Well, Yes, it sets the dimensions in the style of js. Kill them with styles impossible.
Well, that is it is necessary to examine the configuration of library (supposed to be some option on this account) or you can go inside and edit js-code. - Evie commented on July 4th 19 at 23:51

Find more questions by tags CSSHTMLJavaScript