Yes, you have to set the $pagination object:
$images = $images->paginate(4); //and use $images instead of $images->paginate(4) in the loop;
$pagination = $images->pagination();
I edited the snippet above …
Yes, you have to set the $pagination object:
$images = $images->paginate(4); //and use $images instead of $images->paginate(4) in the loop;
$pagination = $images->pagination();
I edited the snippet above …