You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/14 21:22:29 UTC

[GitHub] MichaelSamteladze edited a comment on issue #327: Image as base64 to style background-image:url() issue

MichaelSamteladze edited a comment on issue #327: Image as base64 to style background-image:url() issue
URL: https://github.com/apache/cordova-plugin-camera/issues/327#issuecomment-413019815
 
 
   Sorry if was tough.
   
   Initially it was strange, cause I stored result returned from OnTakePictureSuccess in a variable and printed it out.
   
   I took printed result to test it locally in my test HTML file.
   
   Printed result had newlines, so I thought it was browser formating and I formatted result in html minifiers.
   
   I tried minified in img src="Base64"  it worked and also tried it in div style="background-image:url(Base64)" also worked.
   
   Initially I did not realized that html minifier fixed an issue.
   After I tried original result in img and it worked, then I tried it via div and here I caught a problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org