Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Flexi Slideshow Tweak

  1. #1
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default Flexi Slideshow Tweak

    I have installed the Flexi Slideshow from DD,
    http://www.dynamicdrive.com/dynamici...flexislide.htm

    Here it is on my page,
    http://www.theremotedoctor.co.uk/for...slideshow.html

    Can it be tweaked so it plays from a folder as opposed to adding numerous links for it to show the images.
    I mean there is say 100 images at present that i would like to use but as the list gets bigger some new images will be forgotten to be added to the slideshow.
    If it could play from a folder then remembering to add to slideshow every time would not be necessary.
    The images do not even need to play in any order so the script can play any random image it likes.

    Thanks.
    Last edited by theremotedr; 05-12-2015 at 06:54 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    We would need server side code like PHP or asp to fetch the filenames of a folder and perform a simple test(s) to see whether or not they're images. I have code like that for both PHP and asp if either is available for your use on the server. Is there PHP or asp availability on the server?

    Otherwise, you could have javascript fetch the files, but it cannot read the file listings of a folder. So, for it to work, each filename would have to be either numerically and/or alphabetically sequential in a predictable fashion, like:

    car_1.jpg
    car_2.jpg
    car_3.jpg

    and so on. There could be no gaps in the sequence because the first image that wouldn't load would end the search. Or you could have a limit, pick a random amount from the files which would still have to be sequential but could have gaps to fill out that limit, which would have to always be less than the total number of images available.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    I am not sure so i have just asked the support team.
    As soon as i know i will post a reply here.

    The file names at the moment are like so.
    AUDI001.jpg
    AUDI002.jpg
    BMW001.jpg
    BMW002.jpg
    FORD001.jpg
    etc etc

  4. #4
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Here is there reply,

    We have PHP available with version 5.2, 5.3 and 5.4 but I'm afraid as this is a Linux server we don't have an option for ASP. I should clarify that Linux is the only operating system that we offer for our hosting and I'm sorry if that causes any inconvenience.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Those names could be more sequential. There are gaps between the makes that could only be accounted for by listing each make in the code. And they're not what I see in the source code. There I see hosted images (photobucket) with these filenames (which are definitely not sequential):

    advert-slideshow.jpg
    accord-saloon-slideshow.jpg
    accord-tourer-slideshow.jpg
    3button-key-remote-slideshow.jpg
    civic-slideshow.jpg
    crv-slideshow.jpg
    2button-key-remote-slideshow.jpg
    frv-slideshow.jpg
    jazz-slideshow.jpg
    dr-slideshow.jpg

    But none of that will matter if you can host these images on the theremotedoctor server and have PHP or asp available. So let me know.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    The photobucket links are just there as it allows the slideshow to be seen working.
    This is when i thought about the folder option.
    Once the folder option is set up the photobucket links on this page will be removed.

  7. #7
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    I would like the php slideshow please.

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yeah, OK. I missed that the server had PHP. I was answering at about the same time that you posted that. Let's first make sure the PHP is working/active/turned on. Save this file as test.php and put it on the server and navigate to it:

    PHP Code:
    <!DOCTYPE html>
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    </head>
    <body>
    <pre>
    <?php
    $dir    
    './';
    $files1 scandir($dir);
    print_r($files1);
    ?>
    </pre>
    </body>
    </html>
    It should show something like so:

    Array
    (
    [0] => .
    [1] => ..
    [2] => 12345.htm
    [3] => 14
    [4] => AHH44Mckye6.swf
    [5] => ASongOfSpring_1.swf
    [6] => CompPlansShow.htm
    [7] => CompPlansShow2.htm
    [8] => MSG-3_first_image_large.jpg
    [9] => YT-NoAds
    [10] => addimage-but.htm
    [11] => addimage-but.htm.php
    [12] => ajfmrf
    [13] => alphaimag . . .
    listing out the files and folders in the folder where it is located.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Ok
    I have done that.
    http://www.theremotedoctor.co.uk/test.php.html
    Shows 500 internal server error.

    Please take a look.

  10. #10
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    I have sent a message to the server support team to check it.
    I will message here when i get reply from them.

Similar Threads

  1. Flexi Slideshow -- Need more than one slideshow per page (with different images)
    By CookieMonster in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 02-05-2014, 07:43 AM
  2. Ultimate Fade-in slideshow tweak
    By jamescool in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-04-2012, 08:37 AM
  3. Ultimate Fade-in slideshow (v2.4) tweak
    By DDrive_newbie in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 05-27-2011, 05:47 AM
  4. Tweak for Ultimate Fade-in Slideshow desired
    By endymion in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 04-25-2011, 11:07 PM
  5. Conveyor Belt slideshow script-working on a tweak
    By webjedi in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 12-20-2005, 12:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •