File Handling Questions #37
-
Inside the Guest Entries, while I am updating files in entry, it is replacing my original image. It is reasonable for a single file upload.
https://discord.com/channels/489818810157891584/489862989101662218/1063423057923944459 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey! Thanks for creating this discussion following our discussion on Discord.
I don't think this is currently possible without asking the user to re-upload each of the images. However, I could make it possible to reference the filenames of existing assets so you can keep hold of them. As an example, it might look something like this: {{ images }}
<input type="hidden" name="images[]" value="{{ path }}">
{{ /images }}
<input type="file" name="images[]"> You'd loop through any of the assets already uploaded to the
This is another one that currently isn't possible. However, once I've implemented the feature I was talking about in 1, you would simply delete the
Apologies, I'm not sure I quite understand what you mean. Are you asking how the files can be kept in the form when the user goes to edit the same entry. If so, I've covered that in 1. |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for creating this discussion following our discussion on Discord.
I don't think this is currently possible without asking the user to re-upload each of the images.
However, I could make it possible to reference the filenames of existing assets so you can keep hold of them. As an example, it might look something like this:
You'd loop through any of the assets alread…