Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <img id="imageUpload" alt="your image" style="display: none;">
  2.  
  3. var imgName="data:image/png;base64,"+base64codes+"";
  4. console.log(imgName);
  5.  
  6. $('#imageUpload').attr('src',imgName);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement