How to reference a file stored on the Android internal storage in background-image in CSS

157 Views Asked by At

An image file is stored on the internal storage on my Android tablet. I need to develop a HTML that shows the image on it.

The image is stored at Internal Storage/Download/Agency/Kiosk/Logo-SAU.jgp.

The DIV is defined in CSS as:

#logo_sau {
  width: 100px;
  height: 100px;
  text-align: center;
  display: inline-block;
  background-image: url(file:///%sdcard%/Download/Agency/Kiosk/Logo-SAU.jpg);
  background-size: 100%;
}

This does not work.

0

There are 0 best solutions below