fancyapps / fancybox

jQuery lightbox script for displaying images, videos and more. Touch enabled, responsive and fully customizable.
http://fancyapps.com/
7.27k stars 1.78k forks source link

Bitbucket doesn't like fancybox :( #874

Closed megaroeny closed 10 years ago

megaroeny commented 10 years ago

I have the fancyBox plugin for my portfolio gallery. I recently updated it to the latest version, and it just doesn't work really when I test my repo: http://jaminroe.bitbucket.org/. I also have to click on the thumbnail at least two times, to get it to popup.

Not sure what it is, but it sucks because I can't reliably test it now. Screenshot attached showing how it looks, and how it SHOULD look.

Thanks so much!

chrispelzer commented 10 years ago

It's due to the folder being named fancyBox215 in the your repo (change it to be a lower case b).

Upper case B file: http://jaminroe.bitbucket.org/style/js/fancyBox215/helpers/jquery.fancybox-buttons.js?v=2

Lower case B file: http://jaminroe.bitbucket.org/style/js/fancybox215/helpers/jquery.fancybox-buttons.js?v=2

megaroeny commented 10 years ago

Ohhhh jeez okay thank you! LOL

megaroeny commented 10 years ago

I actually don't see this mistake/typo that you're talking about. So I don't think its that... Hmm. Maybe it's just bitbucket... It does act funny sometimes, like not loading images or scripts.

chrispelzer commented 10 years ago

I'm about 99.99% sure all you need to do is to rename your fancyBox215 folder at https://bitbucket.org/jaminroe/jaminroe.bitbucket.org/src/b7e52dfd06a12a222fb55fc93d5dd521861bffe5/style/js/?at=master

Bitbucket is case sensitive, the file to the repo and the file you reference in the index.html are not the same according to Bitbucket.

  1. Rename fancyBox215 to fancybox215
  2. Commit it
  3. Push to bitbucket
  4. Fancybox
megaroeny commented 10 years ago

Oh I see now!! Sorry didn't see where I had the uppercase. I was only looking in my index.html file. Thanks so much!