@sirion89, multiple images is meant to be used only with logged users.
Currently, it’s not possible to ‘toggle’ it on/off.
The multiple images uploader use WordPress native image browser and honors it’s users permissions, meaning that only logged users can upload images.
If you are a developer and you know your way around WordPress development you can try ‘hacking’ the functionality.
Hello,
Thank you for your information. I had a look at your code and i had the suspect to hear that answer. Would it be possible for you to add some hooks all over the generation and parse of the media file from the insert procedure so that i don’t have to directly edit your plugin code to make it work? For example i saw that the input type file is hardcoded, it would be nice to be able to filter that (i could start from there adding a multiple attribute)
If the above one is not possibile, do you have a github repo of your plugin? If so i can fork it and then request for a merge on your master branch.
If both of the above fails i will simply edit the code on my local copy.
Thanks
@sirion89, we’re still working on some actions/filters to be added in a future release and we currently don’t have a public repository.
If you want to use a multiple attribute for the images we would suggest you to customize the input field directly trough the field template.
Each field provides it’s own overrideable template. The default templates are available under ../templates/form-fields. There you’ll also find the file field template.