How to point the images in public folder in laravel
nimabbasi opened this issue · 2 comments
nimabbasi commented
How do i point the pictures in my public folder to connect to this image slider
data: () => ({
vfOptions: {
autoplay: true
},
vfImages: [
"public/img/slider/01.jpg",
"public/img/slider/01.jpg",
"public/img/slider/01.jpg"
],
vfTransitions: ["fade", "cube", "book", "wave"],
vfCaptions: [
"Caption for image 1",
"Caption for image 2",
"Caption for image 3"
]
})
calpayne commented
What you have may work if you remove the "public" part as there is no "public" in a Laravel URL, only the file structure.
If all else fails, you can have full URLs like https://localhost:8000/img/slider/01.jpg
nimabbasi commented
Many thanks