Tag: swfupload

上传后如何让swfupload返回图片url?

我面临一个非常奇怪的问题。 我使用swfupload将多个图像上传到ima​​geshack服务器。 我还将返回的URL存储在数据库中。 我收到后如何显示从imageshack返回给用户的URL? 上传完成后有没有办法让swfupload返回URL? 以下是我用于上传图片的代码: $(‘#swfupload-control’).swfupload({ upload_url: “”, file_post_name: ‘photo’, post_params: {“authenticity_token” : “”}, file_size_limit : “100024”, file_types : “*.jpg;*.png;*.gif”, file_types_description : “Image files”, file_upload_limit : 5, flash_url : “/flash/swfupload.swf”, button_image_url : ‘/javascripts/swfupload/XPButtonUploadText_61x22.png’, button_width : 62, button_height : 22, button_placeholder : $(‘#button’)[0], debug: false }) .bind(‘fileQueued’, function(event, file){ var listitem=”+ ‘File: ‘+file.name+’ (‘+Math.round(file.size/1024)+’ KB) […]