Skip to content
Discussion options

You must be logged in to vote

Hey! Thanks for creating this discussion following our discussion on Discord.

  1. However, while I am using multiple image upload, and I add a new image in the upload box and save, it will remove all my images and replaced will all new images. How should I prevent this?

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 alread…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@maxwkfcc
Comment options

@duncanmcclean
Comment options

@maxwkfcc
Comment options

@duncanmcclean
Comment options

@maxwkfcc
Comment options

Answer selected by maxwkfcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants