View Full Version : How to preview photo in a window using fileupload plugin

14 Sep 2011, 7:30 AM
Hi I am using fileupload (xtype) plugin of extjs . I want to preview my photo before click on save. please suggest me how to do it.

14 Sep 2011, 9:30 AM
Extjs does not support it.
There is no way to support it on all browser but you can take a look at the file api which works with ff chrome and ie 10.

14 Sep 2011, 11:57 AM
that look me complicated. I am planning to submit my file and then image in box component for preview. in my code, my file get store in db, but does nt appear in my box component

14 Sep 2011, 1:05 PM
I have created an example. Just drop the files in your "extjs/examples/toolbar" folder and run it in FF.