Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Preview Image #36

Closed
ghost opened this issue May 30, 2020 · 2 comments
Closed

Default Preview Image #36

ghost opened this issue May 30, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented May 30, 2020

I have setup a custom default preview image using the method you posted about here: #5

I have managed to set that up with no issue.
The problem comes in when a user clicks the "X" to remove the image (either before or after an image has been selected) - the preview image defaults back to the original image and not the one I setup as the image to use.

I am assuming I should perhaps replace the default image value in the .js file, but not entirely sure how to do that.

@soncapham
Copy link

u must use presetFiles: ['/folder/yourimage_here']

@johndatserakis
Copy link
Owner

Sorry for the late response, I do not see this issue on the current demo site. If the issue still exists, please feel free to reopen.

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

No branches or pull requests

2 participants