1. 程式人生 > >HTML - IMG標籤

HTML - IMG標籤

  • base64點陣圖片顯示
<img ng-src="data:image/jpg;base64,{{vm.order.checkResult.pharmacistPhoto}}" style="width: 350px; height: auto; max-height: 500px; max-width: 350px; min-width:350px; overflow:hidden; "/>
  • 一般圖片顯示
<img ng-click="vm.showModal('showPic', vm.order.checkResult.pharmacistPhoto)" ng-src="{{vm.order.checkResult.pharmacistPhoto}}"/>