Juan Carlos Raña 12 years ago
parent
commit
47520a2832
1 changed files with 4 additions and 3 deletions
  1. 4 3
      main/document/slideshow.php

+ 4 - 3
main/document/slideshow.php

@@ -365,9 +365,10 @@ if ($slide_id != 'all') {
 			if(document.getElementById('image').complete){
 				document.getElementById('image').style.background='none';//the first load doesn't load the browser cache
 			}
-			else if(document.getElementById('image').height<initial_height){
-				document.getElementById('image').style.background='none';
-			}
+			//TODO:we need load this before the real image has been loaded in canvas
+			//else if(document.getElementById('image').height<initial_height){
+			//	document.getElementById('image').style.background='none';
+			//}
 			else{
 				document.getElementById('image').style.background='url(../img/loadingAnimation.gif) center no-repeat';
 			}