Sorting images

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #569
    Jason
    Participant

    Looks like the default sort is by alphabetical file name for the images in the carousel. Would there be a way to add a randomizer, so each time the widget was loaded, the sort would be random?

    Thanks!

    #1467
    milos
    Moderator

    Unfortunately, random is not an option available in this plugin. If you need specific order of images, you can name them properly, in example, 1name.jpg, 2name.jpg, etc.

    Regards
    Milos

    #1468
    Jason
    Participant

    I got it to work by adding

    Code:
    shuffle($infinite_pic);

    after this line in hot_carousel.php:

    Code:
    $infinite_pic = explode(“||”, $infinite_list);

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.