Topic on Project:Support desk

[RESOLVED] 120x240 images or thumbnails not appearing

11
Sushimustwrite (talkcontribs)

First, some relevant info:

  • MediaWiki 1.21.1
  • PHP 5.4.17 (webhost's open beta)
  • MariaDB 5.3.12
  • And using GD for images (ImageMagick isnt an option here)

Just what it says on the tin. Only 120x240 images are not appearing on pages. The images are being generated, as they're showing up in my browser's page source, but when I visit a page, the images don't appear.

Example page with this problem: http://www.wikiwrimo.org/wiki/Participant_icon

Interestingly, one such image does render, but all the others (and there are about a dozen images of this size in total) do not. No error or anything, including in my error logs. I've checked my permissions, and the images with this problem have the same permissions as the ones that are appearing.

Images of other sizes appear fine, including larger images thumbnailed to a smaller size.

Thanks in advance, all.

Edit: Forgot to mention: this problem does not appear to be specific to a file type.

88.130.73.78 (talkcontribs)

Hi!

You say that only size 120x240 is problematic, all others (whether they are bigger or smaller) are fine.

I can see the file "File:Nanowrimo2010 participant icon 120x240monkey.png". Also when I view the image page, I see the "main thumbnail" of the image and I see the thumbnail in the table at the bottom. Seems to be working just fine.

But there e.g. is another file with these dimensions on that page. This is the source code:

<a href="/wiki/File:Nanowrimo2007_participant_icon_120x240.jpg" class="image">
  <img class="wqcdxnbayagdhkcsckst" alt="Nanowrimo2007 participant icon 120x240.jpg"
    src="/w/images/Nanowrimo2007_participant_icon_120x240.jpg" height="240" width="121">
</a>

And does not show up in the browser. It seems like the image somehow gets hidden, most probably via CSS. When I use the Vector skin to view the page, then I see the text "Nanowrimo2007 participant icon 120x240.jpg" written on the page (but also not the image itself). Meaning: Part of the problem seems to be skin-specific.

And the class "wqcdxnbayagdhkcsckst" looks strange.

Sushimustwrite (talkcontribs)

I don't see that weird class name at all in the page source. Odd.

Anyway, I switched to Vector to see if that was the problem, along with switching my thumbnail limit to a larger size. Still nothing, but you have me troubleshooting in a direction I didn't think of before, so that's good, at least.

MarkAHershberger (talkcontribs)

I usually use firefox. Initially, I saw the problem (and the strange class name) on this page. Switching to Chromium, I didn't see the problem, so I suspected a firefox addon. I started firefox in safe mode and didn't see the problem.

So, it appears it is a wonky firefox addon causing the problem.

MarkAHershberger (talkcontribs)

The problem is with adblock plus. This should probably be reported to the rule set maker.

88.130.119.23 (talkcontribs)

I am using AdblockPlus as well. The filter list, which I am using is called "Easylist German + Easylist".

MarkAHershberger (talkcontribs)

yep, me too. Well, not Easylist German.

Other sizes that will be blocked: 115x220, 120x60, 120x500, 140x600, etc...

88.130.119.23 (talkcontribs)

So the people who produce the list "Easylist" are the ones to inform - although I currently do not know, how they want to differentiate, whether an image with the given dimensions is an advert or not. Most images in this size obviously are adverts, otherwise they would not be on that list. It might well be that it does not make sense to change that in the list.

MarkAHershberger (talkcontribs)

Yep, agreed on all points. I've reported this issue here although the post needs to be approved before it shows up.

MarkAHershberger (talkcontribs)
Sushimustwrite (talkcontribs)

I know this is a year late, but thank you so much! I had completely forgotten about this issue while adding to my site, but it was brought to my attention again today.

Now to add this info to the top of the affected pages.

Reply to "[RESOLVED] 120x240 images or thumbnails not appearing"