• Resolved insightdes

    (@insightdes)


    Our gallery is sorted by “Date created – newest first”.

    However, when we upload new photos to the gallery, they don’t display at the top, they get moved down into the middle.

    If we manually move them to the top, they don’t stay there.

    Help appreciated.

    Steve

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi Steve,

    I tested this locally and it worked as expected. Are you sure you were adding attachments that were not previosuly uploaded, but not included in the gallery?

    Looking at the code it uses a WordPress get_posts call with the arguments:

    orderby : date
    order : DESC

    Thread Starter insightdes

    (@insightdes)

    Hi Brad,

    Our client writes:

    Can they be moved around? I moved some and they stayed at the top but others did not so it appeared to be random and did not stick to the rule of listing in order that they were added.

    Also is there a maximum number of photos that can be loaded?

    Thread Starter insightdes

    (@insightdes)

    Hi Brad,

    We figured out from your advice that is was the order in the media gallery that was determining the order in the Foo Gallery.

    The question remains: is there a maximum number of photos that can be loaded?

    Thanks,
    Steve

    • This reply was modified 7 years, 8 months ago by insightdes.
    Plugin Author bradvin

    (@bradvin)

    hey Steve,

    We have tested using over a thousand images in a single gallery. If you are using galleries this large, then it is best to use pagination

    Thread Starter insightdes

    (@insightdes)

    Hi Brad,

    How do we add pagination please?

    Thanks,
    Steve

    Thread Starter insightdes

    (@insightdes)

    For reference, the paging options are at the bottom of the gallery in gallery settings > paging.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘how to put newly uploaded photos to top of gallery’ is closed to new replies.