innostudio / fileuploader

Beautiful and powerful HTML file uploading tool. A jQuery, PHP and Node.js plugin that transforms the standard input into a revolutionary and fancy field on your page.
141 stars 25 forks source link

Preloaded files #30

Closed ionspicica closed 5 years ago

ionspicica commented 5 years ago

Hello. When I use preloaded files everything works fine thumbnails is shown i can edit them delete etc, the problem is that when I try to post the form the files are missing from the parameters

blackchineykh commented 5 years ago

I'm having the same issue. @ionspicica @innostudio was there a solution for this?

ionspicica commented 5 years ago

Hi, unfortunately I didn’t found solution for this issue, but if files are preloaded they might be already saved. If you make new POST request with preloaded files then files are already saved and you can get them from db, if you select new files then you can get them from the request

On Fri, 1 Mar 2019 at 19:58, blackchineykh notifications@github.com wrote:

I'm having the same issue. @ionspicica https://github.com/ionspicica @innostudio https://github.com/innostudio was there a solution for this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/innostudio/fileuploader/issues/30#issuecomment-468753616, or mute the thread https://github.com/notifications/unsubscribe-auth/AM9MXICy8YXWpq-UARq9pnuX-ctrmOEVks5vSWotgaJpZM4bHjuX .

innostudio commented 5 years ago

@blackchineykh @ionspicica while preloading the files and submitting the form, you will get only the list with the file names in $_POST. This list should be merged with the preloaded files on the backend using the option files - Documentation

Checkout our example: https://innostudio.de/fileuploader/documentation/examples/preloaded-files/

ionspicica commented 5 years ago

I use python, how do I get the files in this case

сб, 2 мар. 2019 г. в 13:40, Iulian Galciuc notifications@github.com:

@blackchineykh https://github.com/blackchineykh @ionspicica https://github.com/ionspicica while preloading the files and submitting the form, you will get only the list with the file names in $_POST. This list should be merged with the preloaded files on the backend using the option files. - Documentation https://innostudio.de/fileuploader/documentation/#php

Checkout our example, it is very easy to understand https://innostudio.de/fileuploader/documentation/examples/preloaded-files/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/innostudio/fileuploader/issues/30#issuecomment-468912817, or mute the thread https://github.com/notifications/unsubscribe-auth/AM9MXDLGXBUFDLkrsJiMbUZFKnyRQlPHks5vSmNBgaJpZM4bHjuX .