I have checked osclass 4.5 that is in development and it works so basically the issue is if you use jQuery 1.x.x in Settings > General.When changed to 3.x.x, fancybox library will load and it should work OK.