Is it possible to show image in offline in html webview?

i want to display image in offline in html format .is it possible?

yes its possible
just encode your image to base64
Use the sample code below and replace _ADD_THE_BASE64_CODE_HERE_ with you base64 code

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <img src="_ADD_THE_BASE64_CODE_HERE_" alt="">
1 Like