-
Notifications
You must be signed in to change notification settings - Fork 4k
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
nz-upload can't read cloudimage convert url, this url work with html img tag #5520
Comments
The 1st image can't be displayed stackblitz updated |
Yes, can't parse whether the image is valid for this type of address. but you can via |
I have already try nzPreviewFile but, nzPreviewFile is called when the user add new image. |
- close #5520 - close #4990 `nzPreviewIsImage` 可以更好的自定义预览文件URL是否有效的图像格式,特别是一些CDN它们本身没有一个很明确的图像资源标识,比如: - https://a.com/1.jpg 一种标准图像路径 - https://a.com/key?w=800&force_format=jpg 也算是一个有效的图像路径
- close NG-ZORRO#5520 - close NG-ZORRO#4990 `nzPreviewIsImage` 可以更好的自定义预览文件URL是否有效的图像格式,特别是一些CDN它们本身没有一个很明确的图像资源标识,比如: - https://a.com/1.jpg 一种标准图像路径 - https://a.com/key?w=800&force_format=jpg 也算是一个有效的图像路径
Reproduction link
https://stackblitz.com/edit/angular-24aycx-jltcez
Steps to reproduce
Use nz-upload with cloudimage convert url
What is expected?
nz-upload read cloudimage url
What is actually happening?
nz-upload can't read cloudimage url (html img tag can so, i think it's a bug)
The text was updated successfully, but these errors were encountered: