Support » Fixing WordPress » images in posts/pages not displaying

  • jack randall


    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="" 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! 😀

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘images in posts/pages not displaying’ is closed to new replies.