Gallery linking to images

  • Author
    Posts
  • #100399

    Hello,

    I recently created a post with images in a small gallery, directly from the wordpress app for iOS. When I set up the gallery, I selected that images should not link to anything (instead of linking to the images or an attachment page).

    When I look at my post now, the images in the gallery link to some sort of image carousel complete with comments, exif, bells and whistles. How do I prevent this carousel from showing up?

    This is the post I’m talking about: https://atlanticsander.wordpress.com/2016/09/09/a-walk-on-souris-beach/

    Thanks,
    Sander

    The blog I need help with is atlanticsander.wordpress.com.

    #100590

    calvinjamescoles
    Theme Author

    Hey Sander!

    Unfortunately this gallery style seems to be the default when inserting a gallery into a text area within WordPress, not theme defined. Have you tried uploading the images as individual images rather than a gallery?

    #100602

    Hi Calvin,

    Uploading images as individual images works fine, but for this post I wanted to try the gallery feature.

    On a different blog of mine I used a gallery with the same settings (Link to none), and the images in that gallery display fine and they don’t link to anything, as intended:
    https://pacificsander.wordpress.com

    When I try the various gallery settings on the gallery in the original post, the results are always different than the ‘preview’ example in the wordpress editor. For example, the ‘Square Tiles’ option, gives me a ‘Thumbnail Grid’ instead of the tiled tiles seen in the example on the other blog.

    That’s why I figured there must be something strange going on with the theme.

    #100630

    calvinjamescoles
    Theme Author

    Hey!

    Is the other site you have utilizing the Jetpack Carousel plugin? I believe that is what our theme is using as the standard plugin for galleries in this theme –

    #100635

    Hi Calvin,

    Both blogs are standard WordPress.com blogs, I have no access to any plugins or anything like that.

    #100640

    calvinjamescoles
    Theme Author

    The Jetpack plugin is actually built in to WP.com, from what I can tell.
    https://jetpack.com/support/carousel/
    It might require some custom development to adjust it though!

    #100641

    Hi Calvin,

    I also assumed the plugins were standard on wordpress.com, which is why I was puzzled their behaviour was different between themes.

    I have since tested it on a third theme, and there its behaviour is different once again. Have a look:

    https://atlanticsander.wordpress.com/testing-page/
    https://pacificsander.wordpress.com/testing-page/
    https://testingsander.wordpress.com/testing-page/

    Some observations:

    I used the same gallery shortcodes on these three different pages.
    The Sketch and Wilson theme present the gallery images with a pleasing white border, the Rainier theme does not.
    The Rainier theme uses the ‘Thumbnail grid’ style when the ‘Square tiles’ style is selected.
    The Rainier and Wilson theme use the carousel plugin when an image is clicked, the Sketch theme does not.

    It seems that even though the gallery plugin is standard, themes do have a way of presenting galleries differently.

    Ideally, I’d like the Rainier theme to present the galleries the way the Sketch theme does, matching the published result to the post editor preview, and using the gallery styles and options selected by the post author.

    Maybe the Sketch authors at WordPress had access to some documentation that was not available to third party theme authors?

    Thanks for your time,

    Sander

    #100674

    calvinjamescoles
    Theme Author

    Hey Sander!

    From what I understand theme devs can use the standard plugin for galleries, or a custom developed one. If you’d like I can add that to our feature request list, but not sure if we decided to make this an option that WP would allow it. We can look into it though and see if it’s something that would benefit all of our customers!

    #100675

    Hi Calvin,

    a feature request for not linking the gallery images to the standard carousel would definitely get my vote. I like the minimal look of your theme and the carousel popup interferes with that IMHO.

    Outside of that request, could you have a look at the white border used in the standard presentation of galleries in the other themes? I’ve tested the same gallery on 5 more themes today and they all render the pleasant white border within the gallery grid, only Rainier does not.

    Could you also have a look at the ‘square tiles’ presentation in the Rainier theme? It currently uses the very different ‘thumbnail grid’ presentation.

    Thanks again,

    Sander

    #100714

    calvinjamescoles
    Theme Author

    Thanks!
    I’ll leave a note to our dev/design teams to take a look at these feature requests!

    #100715

    Hi Calvin,

    I did some more testing and searching and found an embarrassingly easy way to turn off the carousel: a checkbox in the wp-admin media settings.

    My other two gallery-related questions remain for your dev/design teams: the missing white border in the galleries, and the incorrect rendering of the square tiles gallery.

    Thanks,

    Sander

    #100729

    calvinjamescoles
    Theme Author

    Ha! Glad you were able to find that – I’ve noted it :)

    For the border on square galleries – Try adding this to your custom CSS:

    .tiled-gallery.type-square .tiled-gallery-item, .tiled-gallery.type-circle .tiled-gallery-item {
        width: 98% !important;
        margin: 2px;
    }
    
    .tiled-gallery.type-rectangular .tiled-gallery-item img {
        padding: 2px;
    }

    Hopefully that helps!

    #100732

    Hi Calvin,

    Thank you for your suggestion, but I was hoping for out-of-the-box support for these standard gallery features, without having to tweak the CSS to make them look as they’re supposed to.

    I did test your CSS in the ‘Custom Design trial mode’ and while it looks OK initially, it makes the gallery images jump nervously when the mouse moves over them.

    Thanks,

    Sander

    #100739

    calvinjamescoles
    Theme Author

    Hey Sander,

    Understood, there’s probably a certain CSS code for the hover state that would need to be adjusted as well. If you’d like I can look into it, or if you’d rather we can wait for our dev team to have a look and see if we can bake in a solution here.

    #100740

    Hi Calvin,

    Let’s wait for the dev team to see if they can support the galleries as a standard feature, then the different gallery styles will look good for every Rainier user, regardless of whether they have the Premium Plan or not.

    Thanks,

    Sander

The topic ‘Gallery linking to images’ is closed to new replies.