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

how to place Thumbnail using javascript URL.createObjectURL(file); #5

Open
safiullahsarhandi opened this issue Nov 15, 2018 · 3 comments

Comments

@safiullahsarhandi
Copy link

safiullahsarhandi commented Nov 15, 2018

hey there,
i'm using this amazing component but i want to place URL.createObjectURL(file); to show fakePath in thumbnail currently its looking for a path from server side but i want to use it in form with couple of fields and want to process it manually that's why i disabled default fine-uploader autoUpload functionlity but unable to override thumbnail placement functionality immediate response will be highly apreciated Thanks 👍

@safiullahsarhandi safiullahsarhandi changed the title how to place using javascript URL.createObjectURL(file); how to place Thumbnail using javascript URL.createObjectURL(file); Nov 15, 2018
@TerryZ
Copy link
Owner

TerryZ commented Nov 15, 2018

URL.createObjectURL() look like just an experimental api.

@safiullahsarhandi
Copy link
Author

URL.createObjectURL() look like just an experimental api.

so how to change thumbnail view without waiting for server response is there any way in this component

@TerryZ
Copy link
Owner

TerryZ commented Nov 16, 2018

There is only previewImg to set thumbnail view content with server response image so far.

The "Thumbnail" plain text can customize in next release.

btw: Try use BASE64 to encode some image you want, and pass that content to previewImg option.

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