Skip to main content
Known Participant
November 11, 2021
Answered

Older website slideshow no longer functioning

  • November 11, 2021
  • 1 reply
  • 438 views

I designed this website a few years ago https://basso56.com/

and it has functioned without issue. I was asked to revise the site today see that the slideshow is no longer working. I am not savvy enough to see what could have possibly caused the issue. I appreciate any help you can offer.

    This topic has been closed for replies.
    Correct answer osgood_

    The link to the 'jquery.cycle.all.js' script has changed since you built the website. Its now:

     

    https://malsup.github.io/jquery.cycle.all.js

     

    Its advisable to download the script and host it on your own web server instead of relying on a link to an external script housed on github. Usually a cdn is reliable but I'm not sure about files hosted on github. I dont think I would class github as a 'content delivery network', were most recognised scripts are housed and are reasonably reliable, github is more of a place to distrubute files to others who want to download them. 

    1 reply

    osgood_Correct answer
    Legend
    November 11, 2021

    The link to the 'jquery.cycle.all.js' script has changed since you built the website. Its now:

     

    https://malsup.github.io/jquery.cycle.all.js

     

    Its advisable to download the script and host it on your own web server instead of relying on a link to an external script housed on github. Usually a cdn is reliable but I'm not sure about files hosted on github. I dont think I would class github as a 'content delivery network', were most recognised scripts are housed and are reasonably reliable, github is more of a place to distrubute files to others who want to download them. 

    Nancy OShea
    Community Expert
    Community Expert
    November 11, 2021

    @gregjb,

    Osgood is correct.  GitHub is not a content delivery network (CDN), never was and should not be used that way. That's why your slideshow plugin is failing.

     

    Also Fancybox 4 is the preferred plugin now.  The script resides on an actual CDN at JS deliver which you may source directly in your code from this link. 

     

    <script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@4.0/dist/fancybox.umd.js"></script>
    

     

    That said, commercial websites need a license to use Fancybox 4. See links below for more details.

    https://fancyapps.com/docs/ui/quick-start

    https://fancyapps.com/pricing

     

    Hope that helps.

     

    Nancy O'Shea— Product User & Community Expert
    gregjbAuthor
    Known Participant
    November 11, 2021

    Thank you. The site is going to be redone, I just needed it to function for a few weeks. Will definitely look into better practices moving forward.