javascript 在 Angular.js 中调整图像大小

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30012492/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 11:29:21  来源:igfitidea点击:

Resize image in Angular.js

javascriptangularjs

提问by David Luque

I'm using URI data link with my images and I need to resize them before show them in the website. I was searching about in the web but I found only with images stored in the server. Anyone knows some tutorial or something related?

我将 URI 数据链接与我的图像一起使用,我需要在将它们显示在网站上之前调整它们的大小。我在网上搜索,但我发现只有存储在服务器中的图像。有人知道一些教程或相关的东西吗?

Thanks so much!

非常感谢!