Set the default image using javascript
anjanirajdev opened this issue · 2 comments
anjanirajdev commented
Try to set the image using javascript
like
$('#inputId).attr("data-default-file", "imagePath");
It does not show on screen but when you inspect the element , the image path will be seen.
samirllorente commented
$('#inputId).attr("data-default-file", "imagePath");
$('#inputId).dropify():
yogendrakinja commented
$('.dropify-render > img').attr('src' imageUrll);