images in posts/pages not displaying (3 posts)

  1. jack randall
    Posted 4 years ago #

    hi all, i'm usually pretty good at figuring this stuff out but this really has got me stumped. when uploading images to posts and pages some just don't show up while others do...

    i should add that this site is running on a multisite install and this problem has just reared it's head. i'm using wp 3.1.4 and i have deactivated all plugins and nothing changed.

    the image uploader goes through the motions and then in the media inspector the image doesn't show and after clicking insert into post/page the image doesn't show up!

    when i look at the source using web developer in chrome i can see that the image is there but it's wrapped in this code and i've no idea why! the weird thing is other images appear and aren't in that code...

    <img src="http://justtheriffs.com/files/2011/08/justtheriffs_banner_ad_260_x_126.jpg" class="aligncenter size-full wp-image-2517" title="justtheriffs_banner_ad_260_x_126" alt="" width="0" height="0" style="display: none !important; visibility: hidden !important; opacity: 0 !important; ">

    I have no idea where that code is being generated or how to remove the style markup that says dislplay: none, visibility: hidden etc (that can't be helping!)

    i'm also seeing this in the web developer view:

    img[width=0] {
    width: 0px;
    img[height=0] {
    height: 0px;

    again i have no idea where this css is being generated and it seems to be pasing it's "0" values to the img markup.

    i hope someone can help as it's been bugging me for days now! :D

  2. DonRawiri
    Posted 4 years ago #

    i was getting kind of the same error, and found out it was an issue with adBlock, so i just disabled it for that page and problem solved

  3. jack randall
    Posted 4 years ago #

    dude, i didn't even think about that! you're a legend :D

Topic Closed

This topic has been closed to new replies.

About this Topic