Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Set the default image using javascript #89

Open
anjanirajdev opened this issue Aug 1, 2018 · 2 comments
Open

Set the default image using javascript #89

anjanirajdev opened this issue Aug 1, 2018 · 2 comments

Comments

@anjanirajdev
Copy link

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
Copy link

$('#inputId).attr("data-default-file", "imagePath");
$('#inputId).dropify():

@yogendrakinja
Copy link

$('.dropify-render > img').attr('src' imageUrll);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants