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

Custom Image Preview. #221

Open
SD30190 opened this issue Nov 12, 2018 · 1 comment
Open

Custom Image Preview. #221

SD30190 opened this issue Nov 12, 2018 · 1 comment

Comments

@SD30190
Copy link

SD30190 commented Nov 12, 2018

image
Hi everyone.
I want to add caption for each Image before upload its. So I want to customize Image Preview. Any suggestions? Thanks.
p/s: Im using Typescript + NodeJs.

@AminUNer
Copy link

I'm also looking back for solution/update in order to add caption to each image, i think the easiest way is to use a new field 'caption' and update the image-upload-component.js file.
[uploadedFiles]="[{'fileName': 'fileName.jpg', url: 'http://example.com/path/to/my/file'}]"
==> [uploadedFiles]="[{'fileName': 'fileName.jpg', url: 'http://example.com/path/to/my/file', caption: 'mycaption'}]"

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