jquery - Image fails to load (sometimes!) -


i'm building site using boostrap , jquery

the site works fine, there 1 image fails load, in rather weird fashion. html defines it:

<img src="resources/publicidade/pub.png" width="100%"/> 

however, when site loads, loads this:

<img src="resources/publicidade/pub.png" width="0" height="0" style="display: none !important; visibility: hidden !important; opacity: 0 !important; background-position: 100px 1px;"> 

the image loads when happen 1px x 1px, image 1346px x 501px.

if put source path image on web address, loads fine. when return webpage, problem disappears!

looking @ server log (i'm using python3 -m http.server) find when error occurs, line /resources/publicidade/pub.png http/1.1" 200 not there. there no error message either. when "load image , return" trick, message there, expected.

i'm using github pages , problem occurs there well. unfortunately can't post link here since client requested privacy. tried clearing cache , using different browser, different os problem still occurs.

adblock recognized image publicity because of path name. disabling adblock fixed error.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -