Home > front end >  This is a picture how to do load, failure message, covered with pictures is not covered
This is a picture how to do load, failure message, covered with pictures is not covered

Time:11-26

Img {
height: 50px;
Width: 500 px;
Position: relative;
display: block;
}

Img: : before {
content: "";
Height: 60 px;
Width: 500 px;
Background - color: RGB (230, 230, 230);
position: absolute;
display: block;
left: 0;
}

Img: : after {
Content: "image loading failure";
display: block;
Color: RGB (100100100);
position: absolute;
left: 0;
Width: 500 px;
}

CodePudding user response:

The Alt attribute is not can?

CodePudding user response:

Is the network problems didn't load out or itself is fake pictures?

CodePudding user response:

Alt="" added directly, if is the original picture without load, need a custom picture replace it?

CodePudding user response:

refer to the second floor shivering little response:
is a network problem didn't load out or picture itself is a false image?
false images

CodePudding user response:

The
fast style male reference 4 floor? Response:
Quote: refer to the second floor shivering little response:
is a network problem didn't load out or picture itself is a false image?
false images
check for fake pictures, so dynamic change image path, posted a prompt images

CodePudding user response:

The
fast style male reference 4 floor? Response:
Quote: refer to the second floor shivering little response:
is a network problem didn't load out or picture itself is a false image?
false images
or when image upload to detect false images, if it is active to delete, prompt the user to check pictures and upload again, can eliminate the false picture need to prompt this step can't load it, at the same time can also be friendly to the database
  • Related