I'm using this plugin http://plugins.krajee.com/file-input for image upload and the piece of jquery code only works in a script tag only, not in the external file. I have tried many times but no success yet.
$(document).ready(function(){
$("#imageUploadOffer").fileinput({
theme: "fa",
browseClass: "btn btn-outline-info btn-block",
showCaption: false,
showRemove: false,
showUpload: false,
allowedFileExtensions: ["jpg", "png", "gif"],
maxImageWidth: 250,
maxImageHeight: 250
});
});
Thanks in advance. I'm a newbie.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2OkwfYN
via IFTTT
Aucun commentaire:
Enregistrer un commentaire