You need to sign in to do that
Don't have an account?
Soumya sri yarava
instead of apex:inputfile, iam using the html image tab , for the render attribute ,
how can i get the base 64value in the , frm the image tag, if iam calling the image value, iam getting the imagename.png in the javascript.
note:here this scenario not to use the apex:inputfile tag as iam using the rerender attribute..
thanks
soumya.
how to pass the base64 values form html image tag to the javascript , and frm javascript to the controller
<img id="companyimage" src="data:image/png;base64,iVBORoC/IERYN;CEIHNFEIERCEIRENFA3xOA5Fv4==">how to get image value as from above tag: iVBORoC/IERYN;CEIHNFEIERCEIRENFA3xOA5Fv4==
instead of apex:inputfile, iam using the html image tab , for the render attribute ,
how can i get the base 64value in the , frm the image tag, if iam calling the image value, iam getting the imagename.png in the javascript.
note:here this scenario not to use the apex:inputfile tag as iam using the rerender attribute..
thanks
soumya.
See this example in the documentation where base64 value is used in the controller
Can you implement using this sample code as an example? Let me know if this helps
Anudeep