Why can't I see images on my mobile phone when backend rendering data (image path) to in-row style: background-image?

Source: Internet
Author: User
Tags php template
List display page. the template is a php template that loops through the image data from the background. The data is the style rendered to the dom element on the page. the code is as follows: {code ...} browsing on the pc is normal, but the pictures on the mobile phone are not displayed. what is the problem? PS: if no data is printed at the backend... list display page. the template is a php template that loops through the image data from the background. The data is the style rendered to the dom elements on the page. the code is as follows:

Browsing on the pc is normal, but the pictures on the mobile phone are not displayed. what is the problem?

PS: If you do not need to print data at the backend, you can give a known image path, which can be displayed on your mobile phone;

Reply content:

List display page. the template is a php template that loops through the image data from the background. The data is the style rendered to the dom elements on the page. the code is as follows:

Browsing on the pc is normal, but the pictures on the mobile phone are not displayed. what is the problem?

PS: If you do not need to print data at the backend, you can give a known image path, which can be displayed on your mobile phone;

That is, the image address you added is incorrect, so it cannot be displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.