Index: press-this.php =================================================================== --- press-this.php (revision 9856) +++ press-this.php (working copy) @@ -235,7 +235,6 @@ // gather images and load some default JS var last = null var img, img_tag, aspect, w, h, skip, i, strtoappend = ""; - if(!my_src) { var my_src = eval( jQuery.ajax({ type: "GET", @@ -246,7 +245,23 @@ dataType : "script" }).responseText ); - } + if(my_src.length == 0) { + var my_src = eval( + jQuery.ajax({ + type: "GET", + url: "", + cache : false, + async : false, + data: "ajax=photo_images&u=", + dataType : "script" + }).responseText + ); + if(my_src.length == 0) { + + strtoappend = ''; + } + } + for (i = 0; i < my_src.length; i++) { img = new Image(); @@ -293,14 +308,19 @@ } jQuery(document).ready(function() { - jQuery('#extra_fields').html('