{% assign slide_1_url = 'https://s3-eu-west-1.amazonaws.com/jekkah/Lookbook/Small/nicole+bench.jpg' %}
{% assign slide_1_caption = '' %}
{% assign slide_2_url = 'https://s3-eu-west-1.amazonaws.com/jekkah/Lookbook/Small/augustine+%26+mariama.jpg' %}
{% assign slide_2_caption = '' %}
{% assign slide_3_url = 'https://s3-eu-west-1.amazonaws.com/jekkah/Lookbook/Small/Haddi+Field+s.jpg' %}
{% assign slide_3_caption = '' %}
{% assign slide_duration = 5000 %}
{% assign animation_speed = 200 %}
{% assign auto_animation = true %}
{% assign animation_type = 'slide' %}
jQuery(window).load(function() {
// Call fitVid before FlexSlider initializes, so the proper initial height can be retrieved.
jQuery('.flexslider')
.fitVids()
.flexslider({
animation:'{{ animation_type }}',
smoothHeight: true,
useCSS: false,
prevText: "",
nextText: "",
slideshowSpeed: {{ slide_duration }},
animationSpeed: {{ animation_speed }},
controlNav: false,
slideshow: {{ auto_animation }},
start: function(slider) {
jQuery("body .flexslider-loading").removeClass('flexslider-loading');
}
});
});