diff --git a/js/image-hover.js b/js/image-hover.js
new file mode 100644
index 00000000..a8b23dc6
--- /dev/null
+++ b/js/image-hover.js
@@ -0,0 +1,118 @@
+ /*
+ Copyright (C) 2014 undido
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see ", {"src":$(this).parent().attr("href"), "style":stylez + ((imageWidth > maxWidth) ? widStyle:"")+heiStyle, "id":"hover-image"});
+} else {
+fileInfo = $(this).parent().parent().children(".fileinfo").children(".unimportant").text();
+isSpoiler = (fileInfo.indexOf("Spoiler") > -1) ? true:false;
+imageD = ((isSpoiler) ? fileInfo.split(",")[2]:fileInfo.split(",")[1]);
+videoWidth = parseInt(imageD.split("x")[0]);
+videoHeight = parseInt(imageD.split("x")[1]);
+
+widStyle = "width:" + ((maxWidth > videoWidth) ? videoWidth:maxWidth) + "px;" + "height:" + ((maxHeight < videoHeight) ? "100%": videoHeight+"px;");
+$imgH = $("", {"src":$(this).parent().attr("href"), "style":stylez + widStyle, "id":"hover-image"});
+}
+
+
+
+$(document.body).append($imgH);
+$("#hover-image").hover(function(){
+mouseisOnImage = true;
+
+}, function(){
+mouseisOnImage = false;
+
+if (mouseexitedImage){
+$("#hover-image").remove();
+}
+});
+};
+imageLeave = function(){
+setTimeout(function(){
+mouseexitedImage = true;
+
+if (!mouseisOnImage){
+$("#hover-image").remove();
+}
+},50);
+};
+$("a .post-image").hover(imageEnter,imageLeave);
+
+$mrCheckie = $('