// Add a slide
$('.your-element').slick('slickAdd',"<div></div>");
<div class="fotorama" data-nav="false" data-fit="cover" data-maxheight="290px">
<img src="">
<img src="http://metropolyss.ru/wp-content/uploads/2018/05/101790259.jpg">
<img src="http://metropolyss.ru/wp-content/uploads/2018/05/5288834.jpg">
</div>
.toster:after {
content: "";
display: block;
width: 300px;
height: 20px;
background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 270 20' fill='#565645'><path d='M0 1c4 1 8 2 11 3 84 21 173 20 256-3v19H0V1z'/></svg>") no-repeat;
}
$('.slick-slider').slick('refresh');