I’ve been using the xupload extension for quite some time and it seems like a good extension. I came across this one issue here and that is that I can’t figure out how to refresh a certain div element with database information using AJAX after the upload was succesful. I am working on an image manager using xUpload but I don’t have the slightest clue where to add code in order for that div to refresh. I hope somebody can shoot me towards the right direction o/
I’m using for the first time Yii Xupload Extension. I followed the setup instructions relatively to the section “Using XUploadAction and XUploadForm” and everything works, except for the following annoying effect:
when I upload any image, at the user interface level, it always happens that its image preview is replaced with the resize of the image itself, with very much size resolution, so that the screen scrolls horizontally so much.
I do not want this image resize, so I tried to add to the widget parameter ‘disableImageResize’ => true (from blueimp/jQuery-File-Upload Options documentation), but it continues quietly to do the image resize with very much size resolution.
How I can do to avoid the after upload images resize, leaving the images preview exactly as they were before?
Also, I would like to try to analyze the javascript part, but I can not find the start-point of these, not even to put some debug alert!.
I am using the XUpload extension and only allowing a single file upload. (multiple=false)
Everything works except for the following:
For some reason, it disables the file upload field after the image has been uploaded if you choose the single file upload attribute(This doesn’t happen with the multiple file uploads choice).
How can I re-enable the file upload field after a file has been uploaded?