Selector (image slider)

hey guys, i want to create an image slider , i tried the plugin of storypioneers (Kirby Selector) but it doesnt work .

and this is how i added it in the default.php

What exactly does not work? Do you see the URLs of the images that you selected? If yes, then everything is fine. KirbySelector is only a nicer replacement for the selector field. To create an image slider you could for example use PhotoSwipe (http://photoswipe.com/documentation/getting-started.html) which seems to be very popular among kirby users.

This is the way to get the images (without your array padding):

<?php  
$filenames = $page->slider()->split() ;
foreach ($filenames as $filename) {
  $image = $page->image($filename); } ?>
  <img src="<?php echo $image->url(); ?>">
<?php endforeach ?>

For the slider functionality itself, you need to add the html/js/css.