JBosir
Member
Let me start by giving you an example.
In this forum, when I want to download a file, I just click on the button, choose the image and right away the file starts downloading and finally it can be viewed. That's what I want to achieve.
I've got a form for that, which includes a complement called fileuploadI've trying to make it work for a week and couldn't. When I click on the apply button, the table updates and also does the image. I think that for the moment that is a solution to the problem, that is, to download and update the image by calling the apply function on the validation button.
I also tried to use Ajax upload. To me, that has a problem. First, you have to select and then download the file (it doesn't do it automatically) and at the end you have to click on a thumbnail to see the image as this is not viewed automatically.
Hello. Thank you for the answer.What browsers do you need to support?
In HTML5, this can be done without storing anything on the server or submitting the form, by using the HTML5 FileReader JS class, which is supported by these browsers:
http://caniuse.com/#feat=filereader
It's something I've considered adding to the standard file upload element.
-- hugh
Regarding the last comment:
I have prepared the pages so that you can see it.
I have proven HTML5 FileReader JS in a temporary page and it works well, the images refresh:
http://ma.eui.upm.es/new/test.php
In my page it doesn't work. It doesn't refresh the images, neither in the frontend neither in the backend.
http://www.ma.eui.upm.es/new/test/form/1/1-pepe
This post it was in Standard support. I take with the problem about twelve days.
I have to make a presentation and it begins to be urgent.
Does this have solution?
Thank you