Adblock blocking images in HTML page

by 2 replies
3
I have firefox and recently installed adblock. It now blocks some images I have on the page, which are just displayed using the img tag. Is there a way of setting up my html page so that the images show? I read on here somewhere to set the image names from say 120x240 to 119x241 as the adblocker looks for common sizes and blocks them but I look at other people's sites with similar set up and they seem to have the default sizes and it doesn't block them?

It isn't an ad, it is images for an affiliate program so need them to show.

Thanks for any help


Andrew
#website design #adblock #blocking #html #images #page
  • You need to rename the images so they don't match the adblock filters.

    If the image is on another site and you have permission to host it on your site, make sure you rename it so it doesn't trigger the filter.
    • [ 1 ] Thanks
    • [1] reply
    • Exactly. It's the name, not the size.

Next Topics on Trending Feed

  • 3

    I have firefox and recently installed adblock. It now blocks some images I have on the page, which are just displayed using the img tag. Is there a way of setting up my html page so that the images show? I read on here somewhere to set the image names from say 120x240 to 119x241 as the adblocker looks for common sizes and blocks them but I look at other people's sites with similar set up and they seem to have the default sizes and it doesn't block them? It isn't an ad, it is images for an affiliate program so need them to show.