简体   繁体   中英

iframe “ajax-like” file upload - preview

I am trying to include a picture uploader in a already existing submission form - Ideally I want it to appear ajax-like so obviously the iframe is the way to go- once uploaded I want it to show a preview of the image uploaded and leave the url for the location of the file in a hidden input

I found http://www.uploadify.com/demos/ which seems like it would be my best bet however I cant figure out how to make it display a preview image or leave the url in a hidden input. preferably I want an "undo" button in case they selected the wrong file but I'm not picky

anyone know either how to make this happen or of a better option

您可以通过Uploadify的onUploadSuccess事件的data参数返回任何信息,包括文件url。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM