Browse Source

Updated pagepeeker image call to their new api url construction. closes #350

pull/366/head
Zach Wise 12 years ago
parent
commit
e37e96d355
  1. 625
      codekit-config.json
  2. 8
      compiled/js/timeline-min.js
  3. 8
      compiled/js/timeline.js
  4. 2
      source/js/Core

625
codekit-config.json

File diff suppressed because it is too large Load Diff

8
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

8
compiled/js/timeline.js

@ -4204,17 +4204,15 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
create: function(m) {
trace("WEB THUMB CREATE");
//http://pagepeeker.com/t/{size}/{url}
//http://api.snapito.com/free/lc?url=
var thumb_url = "http://pagepeeker.com/t/";
var thumb_url = "http://free.pagepeeker.com/v2/thumbs.php?";
url = m.id.replace("http://", "");//.split("/")[0];
// Main Image
VMM.attachElement("#" + m.uid, "<a href='" + m.id + "' target='_blank'><img src='" + thumb_url + "x/" + url + "'></a>");
VMM.attachElement("#" + m.uid, "<a href='" + m.id + "' target='_blank'><img src='" + thumb_url + "size=x&url=" + url + "'></a>");
// Thumb
VMM.attachElement("#" + m.uid + "_thumb", "<a href='" + m.id + "' target='_blank'><img src='" + thumb_url + "t/" + url + "'></a>");
VMM.attachElement("#" + m.uid + "_thumb", "<a href='" + m.id + "' target='_blank'><img src='" + thumb_url + "size=t&url=" + url + "'></a>");
},
pushQue: function() {

2
source/js/Core

@ -1 +1 @@
Subproject commit 407ed9de8e2707a97f6fdcd41667d297774d29a3
Subproject commit 3d91fd3866982b8040a2f04b41a9cd0847e83fda
Loading…
Cancel
Save