Changeset 18341 for extensions/Autosize
- Timestamp:
- Sep 28, 2012, 5:54:49 PM (12 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r18329 r18341 196 196 $img_url = $img_select->get_url(); 197 197 $imgSizeWH = $img_select->get_size(); 198 199 198 if(!file_exists(PHPWG_ROOT_PATH.$img_url)){ 199 // echo $img_url ."<br />"; 200 } 201 if(file_exists(PHPWG_ROOT_PATH.$img_url)){ 200 202 if($img_type=="Autosize" || $img_type=="SelMaxi"){ 201 203 $img_url = $img_select->src_image->get_url(); … … 231 233 break ; 232 234 } 235 } 233 236 } 234 237 -
extensions/Autosize/js/Affiche_script.js
r18325 r18341 582 582 if (typeof theMainImage_id != "undefined") 583 583 if (!init_img(this)) { 584 // alert(this.src); 584 585 nu_img = 0; 586 return; 587 585 588 } 586 589 … … 722 725 **********************/ 723 726 jQuery("#theMainImage").error(function (e) { 727 /* 724 728 alert(this.src + ' Image does not exist !!'); 729 */ 725 730 }); 726 731 … … 904 909 window.myPamoorama.startAnimRight(); 905 910 } 906 911 } else { 907 912 908 913 if (!options.slideshow) { jQuery(theMainImage_id).height(Zone_image.image.height); }; 909 914 jQuery(theMainImage_id).width(Zone_image.image.width); 910 915 911 916 912 917 } … … 2001 2006 //_______________________ init_gen _______________________ 2002 2007 2003 }); // ready2008 }); // ready 2004 2009 2005 2010
Note: See TracChangeset
for help on using the changeset viewer.