Hello,

Displaying and image attachment using phonegap should be very simple as you 
could use a 

<img src="http://localhost:<port>/<database>/<docid>/<attachmentname" />

To display an attachment image..

Unfortunately, as Couchbase Lite on android requires basic authentication 
to be accessed by http requests , this will fail with a 401 error. Basic 
Auth can be done easily using ajax but in this case it is the webview 
issuing directly the HTTP request to get the image.. So how can we set up 
the basic Auth crendentials ?

 

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/d6c3189e-17fb-4ca1-a88c-237be963fa7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to