【发布时间】:2021-10-06 15:44:17
【问题描述】:
<ngx-image-zoom [thumbImage]=imageString [fullImage]=imageString [magnification]="1"
[enableScrollZoom]="true" [enableLens]="true" [lensWidth]="200"></ngx-image-zoom>
imageString = "https://localhost:5101/DoImages/dced0609-1d03-4cd8-80ad-4ace5507e26d_fullres.jpg"
我得到了清晰的图像,但它没有显示在 ngx-image-zoom 控件中。已将所需库导入为“import { NgxImageZoomModule } from 'ngx-image-zoom';”在 app.module.ts 以及来自组件模块但 dist 显示图像?上面有什么问题?
【问题讨论】:
-
请添加您的代码的 sn-ps 以更好地帮助您。可能是
StackBlitz!
标签: angular image bootstrap-4 ngx-image-cropper