语言

Menu
Sites
Language
Images are not displaying in the webview

Hi,

My database contains html data with images. When i'm retrieving the data from db on the webview. Html data is displaying but images are not displaying.

Thanks in Advance. 

响应

4 回复
Lakshmi Grandhi

Hi,

HTML Data with image means are you saving html content with images sources link ??

Lakshmi Prathyusha

Hi 

Yes html content with images source link like

<body>

<img src="/multimedia/1.jpg" />

</body>

the image is  not displaying in the web view when i'm loading the database.

Thanks in Advance.

Lakshmi Prathyusha

Hi,

When i'm replacing the image path as

From 

<body>

<img src="/multimedia/1.jpg" />

</body>

to

<body>

<img src="http://upload.wikimedia.org/wikipedia/commons/7/70/Osteospermum_Flower_Power_Spider_Purple_2134px.jpg" />

</body>

this is working but the above is not displaying any image. I placed image in multimedia folder. Is the image path is correct ?  

 

Chintan Gandhi

Hi Lakshmi Prathyusha,

Are you developing a Native app? In that case it cannot read the <img> tag from database. If you are developing a web app then kindly post this thread in web application development section.

Thanks.