summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/client.js17
-rw-r--r--static/icon/amazon.pngbin2485 -> 1228 bytes
-rw-r--r--static/icon/appstore.pngbin2841 -> 1763 bytes
-rw-r--r--static/icon/facebook.pngbin1575 -> 574 bytes
-rw-r--r--static/icon/gamespot.pngbin2434 -> 1739 bytes
-rw-r--r--static/icon/github.pngbin1250 -> 511 bytes
-rw-r--r--static/icon/googleplay.pngbin1469 -> 1046 bytes
-rw-r--r--static/icon/imdb.pngbin2626 -> 1287 bytes
-rw-r--r--static/icon/instagram.pngbin3309 -> 1827 bytes
-rw-r--r--static/icon/itunes.pngbin3016 -> 1725 bytes
-rw-r--r--static/icon/microsoft.pngbin2147 -> 1218 bytes
-rw-r--r--static/icon/quora.pngbin1716 -> 841 bytes
-rw-r--r--static/icon/reddit.pngbin2009 -> 1086 bytes
-rw-r--r--static/icon/rottentomatoes.pngbin1084 -> 468 bytes
-rw-r--r--static/icon/sciencedirect.pngbin585 -> 354 bytes
-rw-r--r--static/icon/soundcloud.pngbin1289 -> 602 bytes
-rw-r--r--static/icon/spotify.pngbin2114 -> 689 bytes
-rw-r--r--static/icon/steam.pngbin1875 -> 629 bytes
-rw-r--r--static/icon/twitter.pngbin1361 -> 698 bytes
-rw-r--r--static/icon/w3html.pngbin1542 -> 1000 bytes
-rw-r--r--static/icon/website.pngbin2854 -> 1792 bytes
-rw-r--r--static/icon/wikipedia.pngbin1363 -> 1085 bytes
-rw-r--r--static/icon/youtube.pngbin2363 -> 1335 bytes
23 files changed, 17 insertions, 0 deletions
diff --git a/static/client.js b/static/client.js
index 545f0bc..89e9a5e 100644
--- a/static/client.js
+++ b/static/client.js
@@ -360,6 +360,23 @@ if(image_class !== null){
elem.getAttribute("data-json")
);
+ var imagesize = elem.getElementsByTagName("img")[0];
+
+ if(imagesize.complete){
+
+ var imagesize_w = imagesize.naturalWidth;
+ var imagesize_h = imagesize.naturalHeight;
+ }
+
+ for(var i=0; i<collection.length; i++){
+
+ if(collection[i].width === null){
+
+ collection[i].width = imagesize_w;
+ collection[i].height = imagesize_h;
+ }
+ }
+
var title = elem.title;
}
diff --git a/static/icon/amazon.png b/static/icon/amazon.png
index 75b52a7..85c9454 100644
--- a/static/icon/amazon.png
+++ b/static/icon/amazon.png
Binary files differ
diff --git a/static/icon/appstore.png b/static/icon/appstore.png
index 46a0be0..85663bb 100644
--- a/static/icon/appstore.png
+++ b/static/icon/appstore.png
Binary files differ
diff --git a/static/icon/facebook.png b/static/icon/facebook.png
index e40590c..794458d 100644
--- a/static/icon/facebook.png
+++ b/static/icon/facebook.png
Binary files differ
diff --git a/static/icon/gamespot.png b/static/icon/gamespot.png
index a5b781e..8c66a7d 100644
--- a/static/icon/gamespot.png
+++ b/static/icon/gamespot.png
Binary files differ
diff --git a/static/icon/github.png b/static/icon/github.png
index f0455f4..81ea36c 100644
--- a/static/icon/github.png
+++ b/static/icon/github.png
Binary files differ
diff --git a/static/icon/googleplay.png b/static/icon/googleplay.png
index f59ca3d..05ffc19 100644
--- a/static/icon/googleplay.png
+++ b/static/icon/googleplay.png
Binary files differ
diff --git a/static/icon/imdb.png b/static/icon/imdb.png
index 8ddb803..348c259 100644
--- a/static/icon/imdb.png
+++ b/static/icon/imdb.png
Binary files differ
diff --git a/static/icon/instagram.png b/static/icon/instagram.png
index f1bf8e6..db9cabe 100644
--- a/static/icon/instagram.png
+++ b/static/icon/instagram.png
Binary files differ
diff --git a/static/icon/itunes.png b/static/icon/itunes.png
index cf99ab4..b8652eb 100644
--- a/static/icon/itunes.png
+++ b/static/icon/itunes.png
Binary files differ
diff --git a/static/icon/microsoft.png b/static/icon/microsoft.png
index 830fadf..46d048a 100644
--- a/static/icon/microsoft.png
+++ b/static/icon/microsoft.png
Binary files differ
diff --git a/static/icon/quora.png b/static/icon/quora.png
index 2bcbb48..1b39044 100644
--- a/static/icon/quora.png
+++ b/static/icon/quora.png
Binary files differ
diff --git a/static/icon/reddit.png b/static/icon/reddit.png
index 8f24212..6522815 100644
--- a/static/icon/reddit.png
+++ b/static/icon/reddit.png
Binary files differ
diff --git a/static/icon/rottentomatoes.png b/static/icon/rottentomatoes.png
index 01f553a..dd462e7 100644
--- a/static/icon/rottentomatoes.png
+++ b/static/icon/rottentomatoes.png
Binary files differ
diff --git a/static/icon/sciencedirect.png b/static/icon/sciencedirect.png
index 17e03c0..20cef17 100644
--- a/static/icon/sciencedirect.png
+++ b/static/icon/sciencedirect.png
Binary files differ
diff --git a/static/icon/soundcloud.png b/static/icon/soundcloud.png
index 9c86c48..4e93f41 100644
--- a/static/icon/soundcloud.png
+++ b/static/icon/soundcloud.png
Binary files differ
diff --git a/static/icon/spotify.png b/static/icon/spotify.png
index 07fd1f3..c7a35ca 100644
--- a/static/icon/spotify.png
+++ b/static/icon/spotify.png
Binary files differ
diff --git a/static/icon/steam.png b/static/icon/steam.png
index 749ba3e..03671d9 100644
--- a/static/icon/steam.png
+++ b/static/icon/steam.png
Binary files differ
diff --git a/static/icon/twitter.png b/static/icon/twitter.png
index a6d4389..bce2863 100644
--- a/static/icon/twitter.png
+++ b/static/icon/twitter.png
Binary files differ
diff --git a/static/icon/w3html.png b/static/icon/w3html.png
index c010842..2f107db 100644
--- a/static/icon/w3html.png
+++ b/static/icon/w3html.png
Binary files differ
diff --git a/static/icon/website.png b/static/icon/website.png
index 02b2670..aa691f8 100644
--- a/static/icon/website.png
+++ b/static/icon/website.png
Binary files differ
diff --git a/static/icon/wikipedia.png b/static/icon/wikipedia.png
index 18cf9a0..7324c9e 100644
--- a/static/icon/wikipedia.png
+++ b/static/icon/wikipedia.png
Binary files differ
diff --git a/static/icon/youtube.png b/static/icon/youtube.png
index 6951c84..2e068c8 100644
--- a/static/icon/youtube.png
+++ b/static/icon/youtube.png
Binary files differ