Fluctuating number of images?

andywforbes's Avatar

andywforbes

11 Dec, 2012 09:49 PM

I've implemented the royal slider using the 'gallery-vertical-fade' template and it works perfectly. However, I need it to work so you can change the number of slides each week without recoding the HTML. So if I have the slider setup with 11 images right now and I want a friend to be able to FTP to the image directory, delete the 11 slides and upload 15 new ones (with the same file names, image1.jpg - image15.jpg). Is there any possible way of making the slider still work with 15 slides instead of 11 without having to go in an recode the HTML? In other words, anyway to make it dynamically work based on how many images are in a directory?

Thanks,
Andy

  1. Support Staff 1 Posted by Dmytro Semenov on 12 Dec, 2012 09:58 PM

    Dmytro Semenov's Avatar

    Hi,

    RoyalSlider jQuery plugin has no any backend integration, you'll need to write server side script that will return slider markup based on your folder images.

    Dmitry

  2. 2 Posted by andywforbes on 13 Dec, 2012 02:57 AM

    andywforbes's Avatar

    Okay, thanks for the reply. I'll figure something out.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac