Image doesn't work - is this a Chrome bug?

I have a problem with chrome and I wanted to know if there is an error or my error.

When I try to use an Image called 300x250.png , the IMG tag is removed from the browser, this does not happen with images with different file names.

HTML:

 <img src="300x250.png"> <!-- not working --> <img src="300x25.png"> <!-- working --> <img src="300x2500.png"> <!-- working --> <img src="a300x250.png"> <!-- working --> <img src="100x250.png"> <!-- working --> 

Does anyone have an explanation?

+4
source share
3 answers

This is a known Adblock problem (not only in Chrome, the problem is also related to Firefox), affecting images of 300x250 size, and also possibly affecting other images of a certain size (at least in the version of Firefox) - see the easylist section below.

The rationale for this is that since 300x250 is the standard ad size, it is automatically blocked by the adblock. You can confirm this by turning off the ad unit - now you should see the image.

I found the easylist here for the version of Firefox , and it shows several types of dimensions that could block the image (such as 300x250 , 468x60 , etc.), and I assume that the version of Chrome will not be too heterogeneous.

The only fix for this problem is to either slightly resize the image, or simply turn off the ad unit.

See Errors Problem 7387 and Problem 7390 for more information.

+6
source

Ok, I found the answer here: Background image not showing in Chrome browser

AdBlock seems to be a problem

+1
source

as my friend said, you may have installed adBlocker! but I myself think that the address is incorrect; change the file name. or maybe the image format (png) is wrong! check these ...

-1
source

Source: https://habr.com/ru/post/1479705/


All Articles