`
y806839048
  • 浏览: 1126250 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

ajax提交图片流,img显示

阅读更多

 

特性:img  src换了就立即重新加载图片

 

图片的加载:

1,http://www.jb51.net/article/48717.htm

 

代码如下:

 

<img src=“http://www.jwzzsw.com/images/log.gif”/> 

 

2,也可以这样显示: 

复制代码 代码如下:

在上面的Data URI中,data表示取得数据的协定名称,image/gif是数据类型名称,base64 是数据的编码方法,逗号后面就是这个image/gif文件base64编码后的数据

<img src=“data:image/gif;base64,R0lGODlhAgACAIAAAP///wAAACwAAAAAAgACAAACAoRRADs=”/> 

 

 

 

 

data:image/png;base64,

iVBORw0KGgoAAAANSUhEUgAAASAAAACPCAYAAABavgYPAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAATAFJREFUeF7tnfme7LhxpSvzal5gLLulXqTe19u7ZI8tryPb7bEk7x6rpZGXWd//CWrOCUSAB8EAk5mVdbvu7frj+5EJgiAAIr4El8q6Ob7717fKAdy8+zPn57eH934B/qbx/t8O3CCtw88f/P11+fAfphw++seBmw//aReHj/55yvHpfx9g2s0HI4cPkX4HboKPBBxrxcf/Yhw++WVf38uBPB0Zjkc+RHtIap8Rdexp6Dtifci+xjn4yBnOC8+Z4umWF/vNsDLJcp5u2PczNN+pvOTpBh+jnaeo9quOk0l1POC87mE5Tzxvv0Ta1yMf/6rkBtsGPs6sx5KNL/Iptq9AmZ/+uvEZ+Px/jDBti5xfOHz+b8YOAZFHAQWVVM7hxREQltbvel7inHEp529TQFEmiWMA9v0MzXcqL6kEElTCyVT7VcfJpDpWsqlYzhPP2wsuoMM7/+02c/MOJAQoowOX70BC5F3Ohpz3KZ5fjAJ6H4MuWAnl784E+/SBPSMGbhq8O8kCytgg0sAkEbh3JconHHSZNFDO4SwBlXC75Bnazr7T/tbzEOuz8xNLX6d82P6eJmj/ZM7JSyqBdNDOKZ6nKpP0/kr07ayfpJXHWOgC6uC8PaW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WoEE80M5sHMx1gLaHV/hTMcC34E+QoKA4H+MZaUDzjcgSPKC55AIEdwoEg+o1RQ/l4+xz7kUUDF9g5EgXrVArkraNOjgACFQSiSbSLol8ulgijPBETS8U7Va7eAvD6VeIK7COh9yIfcSUCUzzMU0GdcxnricgEpSTrKhoBCQllAq3tHCMxKPEEpHyJl7YL5g2q7wqdoK3lcA9Q75HMfAtLLJmLicQp57OKEkC4TUECB5EubkfZSGy5Xim2dkFOHQpLjnKrXCQFpehPQRn3KS6yAaTP4Ls/fGzcf6Ls4ca+n3e8xAdmlmGNCQnBnKJ+nBOsgnnRdAp96dSASYpd7kMzh898YXS5KFlKQBaTvuqz5/RUzASk6CyqDPKAQymA9ASVxDufuq/mvBuXp4gmelYAulRCk01/Ue6gCIlsC2sLlU0mopji2IgKKFwTPFlBIiC//+Ts2ccP5PAFhyftAwGSCvHfFHsN/Rvk0AR2/gICclXRi5hNE+nkCUgoZvfITYS2i9kTJl0q/oVsEf/DDDXhTN8tsi4cyA9orIJNQlsyE8kYzhJMZhORCOclX/Z2dcX+wEhDyK1XAD5wvoPis9PwqoJBKeVxHxBPU0lGWupWwPs5KQLJtS0CGz4L6pRgFFBJaCcgvx3hZhkumjsmHwqplssXqOIDp/V0ge+oGAfkMyGZBvBTTm85ZiiaiX93+f05dgki2m850AAAAAElFTkSuQmCC

 

 

 

 

 

Java接收前台返回的图片base64编码只要对base64编码部分的数据解码然后转成字节流即可,逗号后的

 

 

 

参考:

http://blog.csdn.net/simba_cheng/article/details/52295169

 

 

 

 

 

代码例子:

 

 

  // 图片选择改变事件

  function inputchange(tag){

  alert(1);

  var inputTag = 'file' + tag;

  var file = document.getElementById(inputTag);

  if(window.FileReader){//chrome,firefox7+,opera,IE10+

  alert(2);

  oFReader = new FileReader();

  oFReader.readAsDataURL(file.files[0]);

  oFReader.onload = function (oFREvent) {

  alert(3);

  uploadImage(oFREvent.target.result,tag);

  alert(4);

  // oFREvent.target.result  结果就是base64的数据

  };

  }

  }

  // 图片上传

  var jsonshuzu={"imgName":"111.png","bluckname":"telesale","imgType":"identityFrontPicUrl","orderNo":"001"};

  function uploadImage(imageData,tag){

  alert(5);

  $.ajax({

  url: '${ctx}/itm/weixin/additional1.action',

  data: {

  imgData: imageData ,// 图片数据流

  jsonsImg:JSON.stringify(jsonshuzu)

  },

//  processData : false,

//  contentType : false,

  dataType: 'json',

  type: 'post',

  success: function(data) {

  var dataJsonObject = JSON.parse(data);

  if (dataJsonObject.returnCode == 'A0001' ) {

  var img = '#imgsrc';

  var imgurl=dataJsonObject.result.imgUrl;

  var fileNameForm=dataJsonObject.result.fileNameForm;

  $(img).attr('src','${ctx}/itm/weixin/getObject.action?'+imgurl);

  $("#fNameForm").val(fileNameForm);

  }else{

  alert('图片上传失败!');

  }

  },

  error: function(xhr, type, errorThrown) {

  alert('网络异常,请稍后再试!');

  }

  });

  }

 

 

 

Java后台:

 

 

 

public String additional1() throws FileNotFoundException, IOException, NoSuchAlgorithmException, InvalidKeyException, XmlPullParserException ,NoSuchMethodException,IllegalAccessException,InvocationTargetException,Exception{

//InputStream is = new FileInputStream(fileName.getPath());

InputStream sbs = null;

System.currentTimeMillis();

//获取ajax传过来的json参数

imgInfoReq=(ImgInfoReq)JSONObject.toBean(JSONObject.fromObject(jsonsImg),ImgInfoReq.class);

//形成新的随机图片名称

fileNameForm = imgInfoReq.getImgName() + System.currentTimeMillis();

fileNameForm = Base64Utils.byteArrayToBase64(fileNameForm.getBytes());

String endpfrx = imgInfoReq.getImgName().substring(imgInfoReq.getImgName().indexOf("."));

fileNameForm = fileNameForm + endpfrx;

//获取图片流

HttpServletRequest request = ServletActionContext.getRequest();

imgData = request.getParameter("imgData");

byte[] imgd=  generateImage(imgData.substring(imgData.indexOf(",")+1));

        //保存图片

JSONObject finalJSONObject = new JSONObject();

if (imgData != null) {

sbs = new ByteArrayInputStream(imgd);

Minoperator.saveObject(sbs, imgInfoReq.getBluckname(), fileNameForm);

}

else{

//Minoperator.saveObject(is,fileNameFileName);

}

finalJSONObject.put("returnCode", "1");

 

         //数据库是否有此订单的图片数据

WeixinAdditionalInfo additionalInfo1 = null;//(WeixinAdditionalInfo)baseService.findObject(WeixinAdditionalInfo.class,orderNo);

String imgType=  imgInfoReq.getImgType();

String imgType0=imgType.charAt(0)+"";

String itype=imgType0.toUpperCase()+imgType.substring(1, imgType.length());

String setMethodName = "set" +itype;

Method setMethod;

Class demo =Class.forName("com.itm.weixin.entity.WeixinAdditionalInfo");

setMethod=demo.getMethod(setMethodName,new Class[]{String.class});

//数据库没有此订单的图片数据就保存

if(additionalInfo1==null){

additionalInfo1= new WeixinAdditionalInfo();

additionalInfo1.setOrderNo(imgInfoReq.getOrderNo());

setMethod.invoke(additionalInfo1,"bluckname="+imgInfoReq.getBluckname()+"&fName="+fileNameForm);

baseService.save(additionalInfo1);

}else{

//数据库有此图片的数据就更新

setMethod.invoke(additionalInfo1,"bluckname="+imgInfoReq.getBluckname()+"&fName="+fileNameForm);

baseService.update(additionalInfo1);

}

 

System.out.println("进入补充资料" + fileNameFileName);

System.out.println("进入补充资料1111" + imgData);

BaseResp br = new BaseResp();

br.setReturnCode(WeixinErrorMsg.SUCCESS.getCode());

br.setReturnMsg(WeixinErrorMsg.SUCCESS.getText());

 

 

ImgResp imgResp= new ImgResp();

Imginfo imginfo = new Imginfo();

imginfo.setImgUrl("bluckname="+imgInfoReq.getBluckname()+"&fName="+fileNameForm);

imginfo.setFileNameForm(fileNameForm);

imgResp.setResult(imginfo);

imgResp.setReturnCode(WeixinErrorMsg.SUCCESS.getCode());

imgResp.setReturnMsg(WeixinErrorMsg.SUCCESS.getText());

        //测试数据

QueryOrderDetailResp queryOrderDetailResp =new QueryOrderDetailResp();

QueryOrderDetailResp qp =new QueryOrderDetailResp();

queryOrderDetailResp.setOrderNo("1111");

queryOrderDetailResp.setState("1");

QueryOrderDetail queryOrderDetail = new QueryOrderDetail();

AdditionalInfo additionalInfo =new AdditionalInfo();

additionalInfo.setGongzuozhengPicUrls("2222");

queryOrderDetail.setAdditionalInfo(additionalInfo);

List<AdditionalInfoRemarks>  additionalInfoRemarks =new ArrayList<AdditionalInfoRemarks>();

AdditionalInfoRemarks additionalInfoRemark =new AdditionalInfoRemarks();

additionalInfoRemark.setRemark("test");

additionalInfoRemarks.add(additionalInfoRemark);

queryOrderDetail.setAdditionalInfoRemarks(additionalInfoRemarks);

ApplyInfo applyInfo= new ApplyInfo();

applyInfo.setApplyAmount(new BigDecimal("666"));

queryOrderDetail.setApplyInfo(applyInfo);

BaseInfo baseInfo =new BaseInfo();

baseInfo.setEmail("333@qq.com");

queryOrderDetail.setBaseInfo(baseInfo);

CareerInfo careerInfo = new CareerInfo();

careerInfo.setCompany("cpny");

queryOrderDetail.setCareerInfo(careerInfo);

ContactInfo contactInfo =new ContactInfo();

contactInfo.setContactPerson("lili");

queryOrderDetail.setContactInfo(contactInfo);

CreditInfo creditInfo =new CreditInfo();

creditInfo.setBankPicUrls("/url/img");

queryOrderDetail.setCreditInfo(creditInfo);

List<PolicyInfo> policyInfos =new ArrayList<PolicyInfo>();

PolicyInfo policyInfo =new PolicyInfo();

//policyInfo.setInputUserid("10");

policyInfos.add(policyInfo);

queryOrderDetail.setPolicyInfo(policyInfos);

queryOrderDetailResp.setResult(queryOrderDetail);

//返回图片保存结果

result= JSONObject.fromObject(imgResp).toString();//toJSONString(queryOrderDetailResp);  // = finalJSONObject.toJSONString();

      

String re ="{\"result\":{\n" +

"\t\t\t  \"baseInfo\":{\"liveAddress\":\"\",\"tenementCity\":\"\",\"homePhone\":\"\",\"tenementAddress\":\"\",\"qqAccount\":\"\",\"hasTenement\":\"\",\"liveCity\":\"\",\"monthSalary\":\"\",\"educationLevel\":\"\",\"marriage\":\"\",\"id\":\"1\",\"weixinAccount\":\"\",\"tenementType\":\"\",\"email\":\"\",\"hasCar\":\"\",\"liveStarttime\":\"2017-10-13 10:49:59\"},\n" +

"\t\t\t  \"contactInfo\":{\"immediateFamilyIdcard\":\"\",\"postAddress\":\"\",\"spousePhone\":\"\",\"contactPerson\":\"\",\"contactPersonPhone\":\"\",\"getProductWay\":\"\",\"immediateFamilyPhone\":\"\",\"contactPersonRelation\":\"\",\"spouse\":\"\",\"nonImmediateFamilyName\":\"\",\"nonImmediateFamilyRelation\":\"\",\"immediateFamilyName\":\"\",\"spouseIdcard\":\"\",\"nonImmediateFamilyPhone\":\"\",\"id\":\"1\",\"immediateFamilyRelation\":\"\",\"isFamilyKnow\":\"\",\"marryDate\":\"\"},\n" +

"\t\t\t  \"policyInfo\":[{\"actualYear\":\"\",\"policyName\":\"3\",\"inputUserid\":\"\",\"shouldYear\":\"1\",\"inputDate\":\"\",\"paymentType\":\"\",\"lifeInsuranceYearSum\":\"\",\"inputOrgId\":\"\",\"monthAmt\":22,\"useDate\":\"\",\"policyCount\":\"\",\"policyType\":\"1\",\"insuranceName\":\"\",\"id\":\"1\",\"policyIndex\":\"\"},{\"actualYear\":\"\",\"policyName\":\"3\",\"inputUserid\":\"\",\"shouldYear\":\"2\",\"inputDate\":\"\",\"paymentType\":\"\",\"lifeInsuranceYearSum\":\"\",\"inputOrgId\":\"\",\"monthAmt\":33,\"useDate\":\"\",\"policyCount\":\"\",\"policyType\":\"2\",\"insuranceName\":\"\",\"id\":\"2\",\"policyIndex\":\"\"}],\n" +

"\t\t\t\t\t  \"additionalInfo\":{\"otherIdentityPicUrl\":\"\",\"otherPicUrl\":\"\",\"loanPicUrls\":\"\",\"juzhuzhengPicUrls\":\"\",\"creditCardPicUrls\":\"\",\"hukoubenPicUrls\":\"\",\"gongzuozhengPicUrls\":\"\",\"identityFrontPicUrl\":\"bluckname=test&imgName=MTExLnBuZzE1MDc3MDkzNTkxNzI=.png\",\"identityBackPicUrl\":\"\",\"marriageCertificatePicUrls\":\"\",\"zichanLetterPicUrls\":\"\",\"id\":\"4\",\"shouruLetterPicUrls\":\"\"},\n" +

"\t\t\t  \"additionalInfoRemarks\":[{\"dealUserid\":\"223366\",\"createTime\":\"2017-10-13 10:49:59\",\"dealUsername\":\"1\",\"remark\":\"222\",\"id\":\"4\"},{\"dealUserid\":\"223366\",\"createTime\":\"2017-10-13 14:36:04\",\"dealUsername\":\"2\",\"remark\":\"33\",\"id\":\"5\"}],\n" +

"\t\t\t\t\t  \"applyInfo\":{\"loanTerm\":\"\",\"purpose\":\"\",\"id\":\"1\",\"applyAmount\":0},\n" +

"\t\t\t  \"careerInfo\":{\"jobName\":\"\",\"reserveFundsRadix\":\"\",\"salaryDate\":\"2017-10-13 10:49:59\",\"companyCity\":\"\",\"companyType\":\"\",\"hasSocialSecurity\":\"\",\"industry\":\"\",\"jobLevel\":\"\",\"industryForth\":\"\",\"salaryWithoutTax\":0,\"employeeType\":\"\",\"companyPhone\":\"\",\"industrySecond\":\"\",\"companyAddress\":\"\",\"industryThird\":\"\",\"company\":\"\",\"id\":\"1\",\"department\":\"\",\"socialSecurityRadix\":\"\",\"employeeAmount\":\"\"},\n" +

"\t\t\t  \"creditInfo\":{\"bankPicUrls\":\"\",\"peopleBankPicUrls\":\"\",\"reserveFundsPicUrls\":\"\",\"id\":\"18\"}},\n" +

"\t\t\t  \"returnCode\":\"A0001\",\"returnMsg\":\"成功\",\"orderNo\":\"A001\",\"state\":\"\",\"isEiditAble\":\"1\"}";

qp=(QueryOrderDetailResp)JSONObject.toBean(JSONObject.fromObject(re),QueryOrderDetailResp.class);

return SUCCESS;

}

 

 

 

public static byte[] generateImage(String imgStr) {

if (imgStr == null) // 图像数据为空

return null;

BASE64Decoder decoder = new BASE64Decoder();

try {

byte[] b = decoder.decodeBuffer(imgStr);// Base64解码

for (int i = 0; i < b.length; ++i) {

if (b[i] < 0) {// 调整异常数据

b[i] += 256;

}

}

//// 生成jpeg图片

//OutputStream out = new FileOutputStream(path);

//out.write(b);

//out.flush();

//out.close();

return b;

} catch (Exception e) {

return null;

}

}

 

 

分享到:
评论

相关推荐

    springboot上传图片并回显

    上述代码中,`upload()`方法接收前端提交的图片文件,使用`MultipartFile`对象处理文件上传。`saveImage()`方法将图片保存到指定目录(`uploads`),并在保存前检查文件路径是否存在。`preview()`方法则用于预览已...

    VUE 图片上传-前端

    6. **表单数据序列化**:在提交图片时,需要将File对象转化为FormData对象,这样可以方便地通过Ajax发送到服务器。Vue中可以使用`new FormData()`构造函数来创建FormData对象,并使用`append`方法添加文件。 7. **...

    JQuery无刷新上传并显示图片

    6. **即时预览**:在前端,图片上传后,可以利用Ajax的回调函数接收服务器返回的图片URL,然后使用`&lt;img&gt;`标签或者CSS的`background-image`属性动态更新图片预览。可以使用`jQuery`的`html()`, `attr()`或`css()`...

    myweb.zip_图片上传_图片上传显示_服务器

    图片显示则需要前端从数据库获取图片路径,并将其插入到HTML中,可以是img标签的src属性。这里涉及到前后端交互,可能使用JSON格式传输数据,前端通过AJAX或者Fetch API获取数据,动态生成HTML。同时,要考虑响应式...

    图片上传/显示(oracle/c#.net)

    用户选择图片后,通过AJAX提交到后台处理,返回结果后再更新页面。 以上就是关于“图片上传/显示(Oracle/C#.NET)”这个项目所涉及的关键知识点,涵盖了从用户交互到数据库操作的全过程。理解和掌握这些技术,对于...

    开发网上购物中用到的ajax,随机图片的产生等技术的总结

    根据给定的信息,本文将对电子商务项目中使用到的关键技术进行深入分析,主要涉及Ajax的应用以及验证码图片生成的技术实现。 ### 一、Ajax在电子商务中的应用 #### 1. Ajax概述 Ajax(Asynchronous JavaScript and...

    基于javascript处理二进制图片流过程详解

    在本文中,我们将深入探讨如何使用JavaScript来处理二进制图片流,特别是通过Ajax请求获取并显示二进制图片数据。首先,我们要明白,传统的XMLHttpRequest(XHR)在处理二进制数据时并不直接支持,但现代浏览器提供...

    jquery textarea插入gif动态QQ表情图片表单提交

    由于表达式是自定义的字符串,服务器端需要解析这些字符串来显示对应的gif图片。例如,在PHP中,可以这样做: ```php $text = $_POST['expressionTextarea']; $parts = explode('[', $text); foreach ($parts as $...

    图片上传前预览和操作图片

    上传部分涉及到表单提交、Ajax异步上传和进度显示。传统的表单提交会刷新页面,而Ajax可以实现无刷新上传,提高用户体验。XMLHttpRequest或Fetch API可以用来发送HTTP请求,将图片数据上传至服务器。同时,可以通过...

    c# webform合成图片,在线预览图片

    1. 图片读取与处理:使用`System.Drawing`命名空间中的类,如`Bitmap`、`Graphics`和`Image`,可以从文件或流中加载图片,并进行裁剪、缩放、合并等操作。例如,你可以通过`Image.FromFile()`方法加载图片,然后使用...

    图片上传预览

    2. **AJAX提交**:事件触发后,利用Jquery.form.js的`ajaxSubmit`或`ajaxForm`方法,以异步方式将图片数据提交到服务器。同时,可以传递参数,如设定请求类型(POST)、数据类型(通常为`multipart/form-data`)和...

    QQ空间上传图片

    3. **实时预览**:一旦图片数据读取完成,我们可以将它设置为`&lt;img&gt;`元素的`src`属性,这样图片就会显示出来,让用户即时看到上传的效果。这一步可以通过监听`FileReader`的`onload`事件来实现。 4. **提交图片**:...

    jQuery头像图片裁剪尺寸插件

    这可能涉及Base64编码的图像数据,或者使用FormData对象进行Ajax提交。 在给定的文件结构中,我们可以看到以下几个关键部分: - `index.html`:这是网页的主文件,包含了HTML结构、引入的CSS和JavaScript文件,...

    jquery上传图片预览

    "jquery上传图片预览"是Web开发中的一个常见功能,允许用户在提交图片到服务器之前先在页面上看到预览效果。这个功能提高了用户体验,让用户在上传之前可以确认图片的质量和方向,避免误传。 实现这一功能的关键...

    js中截取图片的插件.zip

    在获取到Base64编码的图片数据后,我们可以通过AJAX或者Fetch API将数据提交到后台服务器。以下是一个使用jQuery AJAX的例子: ```javascript $.ajax({ url: 'your-backend-url', type: 'POST', data: { ...

    自写上传图片并页面上预显demo

    在这个案例中,`ajaxSubmit`函数可能是用来绑定到一个表单的提交事件,当用户选择图片并点击提交按钮时,触发AJAX提交过程。 3. **图片预览**:`uploadPreview`功能通常涉及到读取用户选取的本地文件,通常是通过...

    php无刷新提交表单

    这段代码定义了一个表单`formFile`,其中包含一个文件输入框`fileUp`,一个用于显示上传状态的`div`元素和一个用于预览图片的`img`元素。 2. **IFrame元素**: ```html ;'&gt; ``` 这里定义了一个隐藏的`iframe`...

    jQuery多图片上传预览代码

    这种功能在现代网页应用中非常常见,例如社交媒体平台、电商网站等,它提高了用户体验,让用户可以在提交前确认图片的效果。 首先,HTML部分是构建用户界面的基础。`index.html`文件中可能包含了表单元素,如`...

    jquery上传图片预览简单实现

    在用户选择图片文件后,我们并不直接上传图片,而是通过FileReader API读取选取的文件,然后在页面上创建一个图像元素(img)来显示预览。这个过程不涉及服务器,所有操作都在客户端完成,提高了用户体验,也减轻了...

    jquery上传图片并预览

    "jquery上传图片并预览"是一个常见的功能需求,尤其在社交媒体、个人资料编辑或者在线表单等场景中,用户可能需要上传图片并在提交之前进行预览。这个功能能够提供更好的用户体验,因为用户可以在上传前看到图片的...

Global site tag (gtag.js) - Google Analytics