• Resolved Annekee

    (@annekee)


    There is just one image not showing up on a page in Firefox – I am developing the website locally. Other browsers do show the image. Viewing the source code (in multiple browsers) everything is as it should be. But using Firefox’s developers tool there appears a strange string added in a css class:

    class="size-thumbnail wp-image-261 caheljkxjnixvkblsulb"

    And this doesn’t occur with all the other images, who are styled in the exact same way.

    What I tried:
    – Checked the files and the database, and there is no instance of “caheljkxjnixvkblsulb”.
    – Removed, re-uploaded and re-inserted the image: same “caheljkxjnixvkblsulb” ocurrence, image not showing.
    – Made a screendump of the image in Photoshop, and re-uploaded: same “caheljkxjnixvkblsulb” ocurrence, image not showing.
    – Removing the string with php str_replace doesn’t work.
    – Removed the class all together (including class=): now it inserts class="caheljkxjnixvkblsulb"

    What now?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you replicate the issue through http://cssdesk.com ?

    Thread Starter Annekee

    (@annekee)

    I don’t see the image in cssdesk Firefox, but I do in other browsers. For clarity: the source code in all browsers shows only class="size-thumbnail wp-image-261".

    There are no errors in my style sheet.

    esmi

    (@esmi)

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter Annekee

    (@annekee)

    – Deactivated all plugins: no change.

    – Switching to a pristeen Twentyeleven: no change.

    – Resetting the plugins folder: no change.

    Thread Starter Annekee

    (@annekee)

    Clearly, there is something with the image/image url. If I only keep the img tag with src= it automatically adds class="caheljkxjnixvkblsulb". But if I insert some random url from an image on the internet, it doesn’t, and shows the image in Firefox like it should.

    esmi

    (@esmi)

    Was this image uploaded via WordPress?

    Thread Starter Annekee

    (@annekee)

    Yes.

    Well, I give up. I made a copy of the #@%& thumbnail in the upload folder named scan8nw-300x250.jpg, renamed it scan8thumbnail.jpg, and replaced (only) the name in the editor, and now the problem is solved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘One image not showing in Firefox – drives me nuts’ is closed to new replies.