[英]how to save image to client side C or JavaScript or ActiveX
i need to save an image file to client side ,, with out prompting the save,open,cancel dialog , or any similar thing , after long searching i heard that will this will be done only by ActiveX. 我需要将图像文件保存到客户端,而没有提示保存,打开,取消对话框或任何类似的东西,经过长时间搜索后,我听说这只能由ActiveX来完成。 please note that the website is on minimum security and its LocalSite and trusted site
请注意,该网站的安全性最低,并且其LocalSite和受信任的网站
You've heard correctly. 您没听错。 Even with ActiveX controls may be severely limited.
即使使用ActiveX控件,也可能受到严重限制。 As well -- depending on client OS and security settings -- the control may need to be signed by a trusted Certificate Authority.
同样,根据客户端操作系统和安全性设置,控件可能需要由受信任的证书颁发机构签名。 (You can create one on your network, but how to do that and configure the client correctly are a questions for server fault. )
(您可以在网络上创建一个,但是如何执行该操作并正确配置客户端是服务器故障的问题。 )
Not sure that this can solve your problem, but a copule of days ago I found this utility: http://downloadify.info . 不确定是否可以解决您的问题,但是几天前,我发现了该实用程序: http : //downloadify.info 。 That's solution which is mix of flash app and jquery plugin.
那是Flash应用程序和jquery插件的混合解决方案。
You could do this pretty easily by creating a FireBreath plugin; 您可以通过创建FireBreath插件轻松地完成此操作; FireBreath makes it relatively easy to create plugins that work both as ActiveX Controls (IE) and NPAPI plugins (firefox).
FireBreath使创建可用作ActiveX控件(IE)和NPAPI插件(firefox)的插件相对容易。 You're right that ActiveX controls are going to be the only way to do it.
您说对了,ActiveX控件将是唯一的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.