Gallery not displaying properly

  • Author
    Posts
  • #261139

    vivianpaige
    Member

    OK, so I’m trying to use the gallery with nothing special in it. When I preview the post, it properly displays 3 thumbnails across. But when I publish it, only 2 columns show and some of the images are missing. Any ideas? TIA. (Oh, and I’ve done the cookie dance.)

    #261352

    justjennifer
    Moderator

    Well, as stupid as it may sound, you’re displaying another gallery further down on the front page of your blog with only two columns and apparently the new gallery is taking its cue from that rather than being treated separately. I don’t think settings from an earlier post should affect a new Post, but apparently it does.

    If you want to see what I mean, open the Post Bobby Scott’s 2008 picnic and the three columns will align correctly.

    #261353

    justjennifer
    Moderator

    BTW-did you upload more than 12 photos to that new Gallery?

    #261354

    vivianpaige
    Member

    Hmm – so I can’t use the gallery feature more than once on the front page? Bummer. Guess I’ll have to add those photos by hand. No, there aren’t more than 12 – as a matter of fact, there are exactly 12 in that gallery. Is that a problem?

    #261361

    justjennifer
    Moderator

    No, but you mentioned originally that some images were missing; just wanted to make sure we were seeing the same thing.

    What concerns me is that your 2 Galleries are within completely separate Posts (and therefore should have separate ID numbers as well), so why is the newer Gallery picking up the CSS styling of the Gallery before it?

    Maybe try identifying the Gallery ID number in the shortcode to see if that straightens it out the front page. Look at the bottom of my non-official Gallery FAQ, which discusses Gallery ID:
    http://gammagirl.wordpress.com/2008/07/27/not-the-official-wordpresscom-gallery-faq/

    #261371

    vivianpaige
    Member

    Yes, three of the 12 photos did not display.

    I’ll take a look at it but in the meantime, I’ve gone ahead and put the pics in manually. I did try to use the columns thing to force the 3 column layout but that didn’t work, either. (Funny that it inherited the 2 column layout but not the size – note that the pics in the other gallery post are medium.) I just don’t have the time to figure it out right now.

    Thanks for your help.

    #261376

    The Gallery feature has, well…. rough edges. Actually more like sharp edges. Razor blades.

    #261400

    justjennifer
    Moderator

    As far as my understanding of how Gallery works, what happened on Vivian’s front page shouldn’t have happened if Galleries are associated with specific posts.

    I’m going to go post a test gallery to see if ID’ing the Gallery smooths out some of those razor edges.

    #261442

    justjennifer
    Moderator

    I changed the reading settings on my photography blog so that a few posts would share the same page and I’m now getting the exact same behavior that vivian described in her first post in this thread.

    http://gammagirl.wordpress.com/page/5/ the Post named “Gallery” had three thumbnails across (default behavior), but the thumbnails are now showing 2 per row, reflecting the Gallery settings of the Post just below “Image Resize Test”. Even adding the ID number to each Post’s Gallery shortcode made no difference in display behavior.

    If a Gallery is Post/Page specific, it shouldn’t matter if there are two or more Posts with Galleries included sharing the same page. This absolutely has to be a bug.

    #261456

    vivianpaige
    Member

    Thanks for testing this, jennifer. I really appreciate it. I’m tagging this so that the mods will look at it.

    #261485

    nickmomrik
    Staff

    I’ve been able to reproduce this on WordPress.com as well as with core WordPress. I’ve filed a bug over at core.

    http://trac.wordpress.org/ticket/7678

    #261486

    justjennifer
    Moderator

    Thanks Nick!

    There’s another reported bug in the Day Dream and Kubrik themes that the attachment page doesn’t produce a link to the original image file. see panaghiotisadam’s reply to @danandp:
    https://en.forums.wordpress.com/topic/how-to-increase-photo-size-appearance-once-already-inserted-in-gallery?replies=16#post-244041

    #261497

    justjennifer
    Moderator

    Didn’t think ahead enough to remember that adding new posts would change the page number (doh!), so the new link to see the bug at work is http://gammagirl.wordpress.com/category/uncategorized/

    Following up Nick’s support ticket, according to the timeline this bug has been assigned to be addressed towards the WP.ORG v2.7 release. Am hoping that here on COM, we’ll see it sooner. (fingers crossed)

    Hopefully the Attachment page problem in Kubrick and Day Dream themes will be addressed shortly, yes? (see link in my above post)

The topic ‘Gallery not displaying properly’ is closed to new replies.