Skip to content
Grav 2.0 is officially stable. Read the announcement →
Plugins

Lightslider plugin images not showing on slider_type text

Started by Anoop D 5 years ago · 1 replies · 675 views
5 years ago

Grav newbie here . I was trying lightslider plugin . It is displaying images and text as it is supposed to be but when i set the slider_type : text and i have images with names image-1.jpg, image-2.jpg,image-3.jpg in the same folder, the images are not loading . The read me says

When in text mode, the lightslider template automatically looks for images of the format: image-1.jpg, image-2.jpg, image-3.jpg, etc. It will associate each section of the page content to each image in order.

Can somebody please guide me on what i have done wrong ?

5 years ago

@anoopd, Gave the plugin a try in my fresh install of 'One Page' skeleton...

Switching to 'text' wasn't working at first, but (surprisingly) a $ bin/grav cache solved that.

Since clearing the cache, switching between 'text' and 'image' works flawless.

Btw. I used the slider in a modular page, not a regular page.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 80 1 week ago
Plugins · by Xavier, 4 weeks ago
2 84 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1210 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 77 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 103 2 months ago