Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Auteri

    (@mauteri)

    Hi Gusta,

    There isn’t a way to set a max limit on the images displayed; the plugin loads all the images in a gallery. For performance, I use lazy load, so it doesn’t load all the images on load all at once, but loads them as they come into view. If you want to omit some images from the gallery, you can use the ignore attribute and include the ID(s) of the image(s) you want to ignore in a comma separated list. Example: ignore=”326020210891369,320328328127224″.

    I could see this as an interesting addition to the plugin though. Something like displaying 6 of the latest images in a sidebar or something to that effect. I can add this in in the next release.

    Thx,
    Mike

    Thank you, Mike!

    Plugin Author Mike Auteri

    (@mauteri)

    Hi Gusta,

    I have updated the plugin. New version 0.5.8 has the new attribute limit you can add to the shortcode. Example, limit=6 will show only 6 photos. You can use along with the order attribute (order=”asc” or order=”desc”, desc is default). Let me know how this works for you.

    Thx!
    Mike

    Thread Starter Gusta Mociaro

    (@gusta-mociaro)

    Wow! That’s amazing. Exactly what i needed.
    Thank you so much!

    Plugin Author Mike Auteri

    (@mauteri)

    You bet! ??
    -Mike

    Hello Mike,

    First, Thanks very much for this awesome plugin,

    I’m sorry i just get going on using CSS,

    i can’t make it work the limit=6 to my CSS stylesheet editor

    What is the proper code line to use?

    And what lightbox do you use? Did you make it up yourself ?
    Because i really like it and like to use it for my photos ??

    Thank you in advance,
    Lolo&John photographers

    Plugin Author Mike Auteri

    (@mauteri)

    Hi loloandohn,

    Glad you like the plugin! To answer your question, you add the limit=6 to the shortcode, not your stylesheet.

    Example:
    [fb_album id=”123456789″ limit=”6″ order=”asc”]

    For the lightbox, I use a jQuery plugin called light gallery. You can find it here:

    https://sachinchoolur.github.io/lightGallery/

    Hope that helps!

    -Mike

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Number of images to show’ is closed to new replies.