Slick plugin - fixed height and auto width on div causes undefined slide width
<p>I'm using the Slick plugin and am trying to get <em>portrait</em> slides to work. This has worked great for me with landscape images and I've been setting fixed width on slick-slide divs with auto height through my css sheet. </p>

<p>E.g.</p>

<pre><code>slider div {
    width: 250px;
    height: auto;
}

slider div img {
    width: 100%;
    height: auto;
}
</code></pre>

<p>However I'm now trying to do this with <em>portrait</em> images and am setting fixed height with auto width. The problem here though is that with auto width, I think the plugin doesn't know what width size to use and just assigns the div element a massive width size as there may be no support for auto.</p>

<p>E.g.</p>

<pre><code>slider div {
    width: auto;
    height: 250px;
}

slider div img {
    width: auto;
    height: 100%;
}
</code></pre>

<p>I'm still new to jQuery and am trying to figure out how width is taken from the plugin as getting .width() from the div itself (when plugin is disabled) comes out as a unit it should be.</p>

<p>If anyone has any suggestions on what I can do to solve this or can provide any feedback on this would be greatly appreciated.</p>