Difference between revisions of "Nottinghack Wiki talk:Flickr gallery old version"

From Nottinghack Wiki
Jump to navigation Jump to search
m (Broken?)
Line 4: Line 4:
  
 
This widget seems to be broken? E.g. [[Gatekeeper]], [[BigClocks]], etc. [[User:Daniel|Daniel]] ([[User talk:Daniel|talk]]) 08:19, 30 June 2013 (EST)
 
This widget seems to be broken? E.g. [[Gatekeeper]], [[BigClocks]], etc. [[User:Daniel|Daniel]] ([[User talk:Daniel|talk]]) 08:19, 30 June 2013 (EST)
 +
 +
Spent some time investigating this, first issue was that we're now serving the wiki over SSL and modern browsers don't like pulling dangerous content (mostly scripts) from non SSL external domains. I refactored the original globals.js script to obtain all of the dependencies over SSL but the script still didn't behave. Turns out that Mootools used by the gallery script conflicts with jQuery which we have on the wiki as they both use the '$' for selecting elements. I tried a very hacky solution to try and limit the scope of the Mootools '$' but it only worked in Chrome and broke the page in other ways. [[User:Robert|Robert]] ([[User talk:Robert|talk]]) 23:58, 9 June 2014 (UTC)
 +
 +
I'll have another look tomorrow but I think I might just ditch this 'Kishlery' script completely and bring in some other Flickr compatible gallery script as there is plenty of them, some of which are actually on proper CDNs as well. [[User:Robert|Robert]] ([[User talk:Robert|talk]]) 23:58, 9 June 2014 (UTC)

Revision as of 23:58, 9 June 2014

Resizing while loading

This widget resizes itself after loading the images, which is slightly irritating. It is open source [1], so we could fix this and upload the script to our own server instead of loading it from the remote one. -- 00:48, 9 April 2012 (EST)

This widget seems to be broken? E.g. Gatekeeper, BigClocks, etc. Daniel (talk) 08:19, 30 June 2013 (EST)

Spent some time investigating this, first issue was that we're now serving the wiki over SSL and modern browsers don't like pulling dangerous content (mostly scripts) from non SSL external domains. I refactored the original globals.js script to obtain all of the dependencies over SSL but the script still didn't behave. Turns out that Mootools used by the gallery script conflicts with jQuery which we have on the wiki as they both use the '$' for selecting elements. I tried a very hacky solution to try and limit the scope of the Mootools '$' but it only worked in Chrome and broke the page in other ways. Robert (talk) 23:58, 9 June 2014 (UTC)

I'll have another look tomorrow but I think I might just ditch this 'Kishlery' script completely and bring in some other Flickr compatible gallery script as there is plenty of them, some of which are actually on proper CDNs as well. Robert (talk) 23:58, 9 June 2014 (UTC)