• Resolved RafaelDeJongh

    (@rafaeldejongh)


    I was wondering if it was possible to add more images spread over a single page to the thumbnail gallery.

    I’ve got this page: http://www.rafaeldejongh.com/previous-work/

    Where I would like if you clicked on the any image that you could also click left/right to go to another image on the same page.

    I was first searching to some kind of rel attribute as used in the lightbox gallery, but couldn’t directly find a link to why these are clickable images that open the gallery.

    So is there any way to add an attribute to say that all the images in the same page are able to be viewed in the same gallery slider?

    Thanks in advance for further information.

    Best regards,
    Rafaël De Jongh

    https://wordpress.org/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Howdy Rafaël,

    That’s not an option at this time. The gallery works within each [gallery] shortcode, so all of the images would need to be part of the same gallery to do that.

    Cheers!

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    @brandon

    Yea thought so, thanks for the confirmation though!
    I doubt it is possible either to have text in between the images of one gallery?

    Or to have like an option in the future to set a relation attribute for the gallery, so if it’s set that each image on a single page with that attribute will be added to the slideshow?

    Either way thanks 🙂

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Jetpack probably won’t include such a feature, but you could try the following:

    1. Create a regular gallery including all the images you want to add to your post.
    2. Set the gallery type to thumbnail grid.
    3. Add text as caption for each one of your images.
    4. Insert the gallery into the page.
    5. Switch to the “Text” tab in the editor.
    6. Add 2 attributes to the existing [gallery] shortcode: columns="1" size="large". Your shortcode should end up looking like this: [gallery id="123, 124, 125" columns="1" size="large"]

    Publish your page. You should then be able to tweak the appearance of the captions to make them look like regular text on that page.

    You can customize the look of every element on your site thanks to CSS. You can add that CSS to your theme stylesheet, or to your custom CSS editor available under Appearance > Edit CSS in your dashboard.

    I hope this helps.

    Thread Starter RafaelDeJongh

    (@rafaeldejongh)

    Oh that’s a shame but thanks for the confirmation and a possible alternative!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Gallery rel/attribute over multiple different images.’ is closed to new replies.