• Resolved bluedogranch

    (@bluedogranch)


    Hi,
    This is an interesting plugin and is well maintained and support questions are answered, unlike so many other plugins.

    My question is this: is it possible to not show all images in a a gllery and have the first image in a gallery be the link to the entire lightbox gallery?

    I’m using the standard WordPress gallery shortcode:

    [gallery size="full" link="file" ids="98015,98016,98017,98018"]

    Is it possible to have the one image 98015 be a thumbnail and when clicked, open the entire gallery?

    Thanks!

    • This topic was modified 2 years, 3 months ago by bluedogranch.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support elviiso

    (@elviiso)

    Hi @bluedogranch

    You can actually implement what you are describing using the single thumbnail gallery template: https://fooplugins.com/documentation/foogallery/appearance-foogallery/single-thumbnail-gallery-template/

    You can even load this gallery template to a page using our shortcode attributes: https://fooplugins.com/documentation/foogallery/troubleshooting-foogallery/shortcode-attributes/

    Thanks.

    Kind regards,
    Elvis.

    Thread Starter bluedogranch

    (@bluedogranch)

    Hi,
    template=”image-viewer” doesn’t work with the standard WordPress shortcodes I’m using

    [gallery size="full" link="file" ids="98015,98016,98017,98018"]

    How are single thumbnail gallery template supposed to work with WordPress short codes?

    Plugin Support elviiso

    (@elviiso)

    Hi @bluedogranch

    FooGallery shortcode attributes will not work with the standard WordPress shortcode for creating a gallery. You will need to modify it and use the format in this guide I shared with you earlier.

    To create a FooGallery gallery with the single thumbnail gallery template, you can use the following shortcode:
    [foogallery attachment_ids=”45,46,49″ template=”thumbnail”]

    All you need to do to make it work – if you already have FooGallery installed and activated – is to replace the “attachment_ids” values in the shortcode above with the image attachment IDs of the images you’d like the gallery to display and then add it to the page that you want the gallery to be displayed on.

    Alternatively, you can simply create your gallery with the Singl Thumbnail gallery template selected in the FooGallery admin section as shown in this linked image and then add the code generated to the gallery page:

    Hope this clarifies your questions.

    Kind regards,
    Elvis.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can the first gallery image be a link to the gallery?’ is closed to new replies.