• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Home
  • About
  • My Blogs
    • Photoblog
    • Knots
    • WP.com tips
kristarella.com

kristarella.com

Happiness Engineer at Automattic, lover of knitting, crochet, sci-fi and more

  • Presentations
  • Plugins
    • Exifography
  • Contact
You are here: Home / Blogging / Images & Adblock Plus

Images & Adblock Plus

18 October 2011 by kristarella

I haven’t used ad-blockers for a very long time… partly because I haven’t used Firefox (regularly) for a long time, and I’ve been slow to adopt Chrome plugins. Also, I’m a little conflicted about denying site-owners potential income by blocking their ads. So, I’m not an expert on ad-blocking by any means, but I ran into an interesting issue with a client this week that I thought deserved sharing.

My client had chosen to use thumbnails in the Thesis teasers that were 300×250 pixels. Personally I prefer something slightly more “widescreen”, like 300x200px, but it is a food blog, so I think they’d like to show as much of the dishes as they can. We had just finished implementing the design on the website — I had written a little script that grabs the first image uploaded to the post and displays the thumbnail version of that image, if there is no Thesis Thumbnail designated for the post — and the client told me that Adblock Plus was blocking the thumbnails.

Since I don’t use ad-blockers and haven’t used this specific image size much, I’d never encountered this issue, but with the help of Perishable Press and my client we figured it out! The images have -300x250 at the end of their URL (WordPress adds the dimensions to all images it generates), and Adblock Plus was blocking images with -300x250 in their file name. 300×250 is one of the standard ad sizes… So assuming that Adblock Plus only blocks the standard ad sizes, the way to fix this issue in WordPress is to change your image size to something slightly different to 300×250, even if it is just by one or two pixels.

If you need to change all the thumbnails on your site Regenerate Thumbnails is a very effective plugin for regenerating the images after you change the size settings.

Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on Pocket (Opens in new window) Pocket

Like this:

Like Loading...

Related

Filed Under: Blogging

Reader Interactions

Comments

  1. Oscar Gonzalez says

    20 October 2011 at 12:36

    Thanks for the tip Kris! I feel the same way about denying publishers the pageviews for their ads and stuff, but sometimes it’s necessary. I usually opt for the noscript plugin in firefox instead of blocking all ads. But I try to have all my “browsing” plugins turned off while I develop stuff so that they don’t conflict with the work… I would have missed this too!

    Thanks for sharing the fix too, although it’s a bummer that we have to change the dimensions on the image to overcome this.

  2. Christopher says

    10 November 2011 at 04:31

    Nice one Kristen!

  3. Jim says

    1 December 2011 at 23:36

    As a new thesis user, I thought I’d add a bit to this post. Initially, I thought that Ad Blocker Plus was blocking 300×250 images too, as a “mock graphic” of a 300×250 Adsense unit I put up on my development site was being “blocked out” by the Ad Blocker (this was a graphic, not functioning ad code). However, I had several other photographs sized 300×250 that were showing up fine, so that made me doubt that ad size was the trigger (at least, all by itself).

    Turns out the size of the graphic didn’t matter. Instead, what was causing the graphic on my site to be blocked out was the graphics file name. I initially had the file named adsense-graphic-300-250.gif. This image was blocked. Then I tried goog-sense-300-250.gif. This image was also blocked, which somewhat surprised me. Then finally I tried something totally non-ad/google related : test.a.gif. Success!

    Moral of the story is if your images are being blocked, try renaming them.

  4. kristarella says

    13 December 2011 at 09:07

    Jim — Thanks for your input. I did mention in the post that the filename was the main issue. One could try renaming their images, but the issue in WordPress is when it automatically appends the image dimensions to the different sizes of the image that are generated when uploading an image.

  5. Martyna Bizdra says

    12 February 2012 at 19:35

    Hey Kristen

    how are you?
    Kristen, have you written on your blog about blogroll? How to have it on homepage only (Thesis)? I went through the internet, and there is no clear answer.

    M.

    • kristarella says

      12 February 2012 at 20:55

      Martyna — No, I haven’t written about it specifically. Try something like the widget context plugin. Or you can add the widget manually (like at the end of this post: http://diythemes.com/thesis/rt.....ith-hooks/) and use conditional tags around the contents of the function to only put it on the home page.

  6. Martyna Bizdra says

    14 February 2012 at 03:33

    Thank you, I will let you know when I figure out the code.

  7. Martyna Bizdra says

    3 March 2012 at 02:48

    Kristen, the problem was solved with “Widget Logic” plugin

A triptych of baubles. These are very satisfying t A triptych of baubles. These are very satisfying to paint ❤️💚💙

#watercolor #watercolour #christmas
I have really enjoyed this Christmassy painting! S I have really enjoyed this Christmassy painting! So glad my friend asked me to make some cards for our church helpers, because it set me on a roll!
#watercolor #watercolour #christmas #christmascards #watercolorcards
Had a great Saturday at the GKR Karate State Title Had a great Saturday at the GKR Karate State Titles! I was a sub for @jamesxuereb.me in the Blue Flame Dragons thanks to his sprained ankle; we won first round and came fourth overall!
I did a bunch of judging and officiating, which was really good.
I didn’t place in my individual events, but had a very fun final round of kumite (sparring).

#gkrkarate #karate
More stamping tonight. Even better than last night More stamping tonight. Even better than last night’s!
Did some stamping this evening. Love it! I wish I’d done some pages in other ink colours before I dismantled the stamps 😂
Had an appointment in the city, so I got to visit Had an appointment in the city, so I got to visit the @legocertifiedstores_anz Wicked display!
#wicked #lego #afol #sydney
A little book I made from Bunnings paint sample ca A little book I made from Bunnings paint sample cards. It’s going to be for mini paintings and collages. Sometimes it’s nice to start with a colour rather than a blank white page!
A little while ago I did some swatching of Daniel A little while ago I did some swatching of Daniel Smith and Schminke Horodam watercolours. So soothing! I love some of the granulating colours!
#watercolours
Follow on Instagram

Footer

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • Home
    Home
  • Sistaco Nail Powder Review
    Sistaco Nail Powder Review
  • Boobs & Dinks - early cancer detection
    Boobs & Dinks - early cancer detection
  • Edit EPS files in Inkscape on Mac
    Edit EPS files in Inkscape on Mac
  • Exifography
    Exifography
  • Clickable tags for WordPress
    Clickable tags for WordPress

Follow Me On…

  • Instagram
  • X
  • GitHub
  • LinkedIn
  • YouTube

Categories

Copyright © 2025 · Kristen Symonds · kristarella.com

%d