diff --git a/last_commit.txt b/last_commit.txt
new file mode 100755
index 00000000..ee47b710
--- /dev/null
+++ b/last_commit.txt
@@ -0,0 +1 @@
+Removed preload
\ No newline at end of file
diff --git a/themes/3nids/3nids/js/jquery.fancybox.js b/themes/3nids/3nids/js/jquery.fancybox.js
index d4a4a480..4558c0d6 100755
--- a/themes/3nids/3nids/js/jquery.fancybox.js
+++ b/themes/3nids/3nids/js/jquery.fancybox.js
@@ -159,8 +159,7 @@
var href = opts.itemArray[opts.itemCurrent + 1].href;
if (href.match(imageRegExp)) {
- objNext = new Image();
- objNext.src = href;
+ $("").attr("src", href);
}
}
@@ -168,8 +167,7 @@
var href = opts.itemArray[opts.itemCurrent -1].href;
if (href.match(imageRegExp)) {
- objNext = new Image();
- objNext.src = href;
+ $("").attr("src", href);
}
}
};
diff --git a/themes/3nids/3nids/js/jquery.preloadimages.js b/themes/3nids/3nids/js/jquery.preloadimages.js
deleted file mode 100755
index e1b69479..00000000
--- a/themes/3nids/3nids/js/jquery.preloadimages.js
+++ /dev/null
@@ -1,10 +0,0 @@
-preload_image_object = '';
-var img_count = 0;
-
-jQuery.preloadImages = function()
-{
- for(var i = 0; i").attr("src", arguments[i]);
- }
-}
diff --git a/themes/3nids/3nids/views/album.html.php b/themes/3nids/3nids/views/album.html.php
index fc545510..e29ffe45 100755
--- a/themes/3nids/3nids/views/album.html.php
+++ b/themes/3nids/3nids/views/album.html.php
@@ -9,17 +9,6 @@
$theme->pagination = new Pagination();
$theme->pagination->initialize(array("query_string" => "page","total_items" => $children_count,"items_per_page" => $page_size,"style" => "classic"));
$children_offset = ($theme->pagination->current_page -1) * $page_size ; ?>
-
-
if (count($children)): ?>
diff --git a/themes/3nids/3nids/views/dynamic.html.php b/themes/3nids/3nids/views/dynamic.html.php
index 036bd012..6b39a29e 100755
--- a/themes/3nids/3nids/views/dynamic.html.php
+++ b/themes/3nids/3nids/views/dynamic.html.php
@@ -10,17 +10,6 @@
$theme->pagination->initialize(array("query_string" => "page","total_items" => $children_count,"items_per_page" => $page_size,"style" => "classic"));
$children_offset = ($theme->pagination->current_page -1) * $page_size ; ?>
-
-
for($i=0;$i<$children_offset;$i++): ?>
diff --git a/themes/3nids/3nids/views/image_block_block.html.php b/themes/3nids/3nids/views/image_block_block.html.php
index a76fb77e..31d06839 100755
--- a/themes/3nids/3nids/views/image_block_block.html.php
+++ b/themes/3nids/3nids/views/image_block_block.html.php
@@ -15,9 +15,3 @@
-
-
diff --git a/themes/3nids/3nids/views/page.html.php b/themes/3nids/3nids/views/page.html.php
index bfce188c..a7ad8ddb 100755
--- a/themes/3nids/3nids/views/page.html.php
+++ b/themes/3nids/3nids/views/page.html.php
@@ -62,7 +62,6 @@
= $theme->script("jquery.localscroll.js") ?>
= $theme->script("jquery.easing.js") ?>
= $theme->script("jquery.fancybox.js") ?>
- = $theme->script("jquery.preloadimages.js") ?>
= $theme->script("ui.init.js") ?>
/* These are page specific, but if we put them before $theme->head() they get combined */ ?>
@@ -168,10 +167,5 @@
= $theme->page_bottom() ?>
-