Closed ChazyTheBest closed 8 years ago
Hello! I don't understand the question :p
Hi and sorry. I mean, if I have multiple file inputs it's possible to give a preview for each one without initialize ezdz multiple times?
Currently I just do this to initialize ezdz on all of my file inputs:
$('input[type="file"]').ezdz({text: 'Arrastrar imagen'});
So is it possible to pass to preview
multiple links for each one?
Hello, Ezdz doesn't work with multiple file input.
It does indeed... The above code initializes all file inputs. Thanks anyway.
Edit: This should be working, but it's not:
$('input[type="file"]').each(function(i) {
var folder = parseInt(getUrlParameter('id')) + '/',
image = (i + 1) + '.jpg';
$(this).ezdz({
text: 'Arrastrar imagen',
preview: 'http://www.website.com/images/' + folder + image
});
});
The preview
option it's not working.
Hi, I'm wondering if it's possible to loop
preview
for each file input so I can see the currently uploaded images?How would I do this?
Thanks!