• Resolved lupet92

    (@lupet92)


    Hi, how I can refresh gallery image after load more image with a button. First time only 10 image are loaded, after more 10. The first block is ok, the seconds no.

    Regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello

    Is it possible to see this gallery?

    Thread Starter lupet92

    (@lupet92)

    You can show here: https://urlgone.com/15b332/

    • This reply was modified 6 years ago by lupet92.
    Plugin Author arisoft

    (@arisoft)

    We see 22 images on the page and no “Load more” button. All images are opened into the lightbox.

    Thread Starter lupet92

    (@lupet92)

    Try now.

    Plugin Author arisoft

    (@arisoft)

    Sorry, nothing changes.

    Thread Starter lupet92

    (@lupet92)

    Check here: https://urlgone.com/a63a5e/
    Sorry

    Plugin Author arisoft

    (@arisoft)

    If gallery plugin which you use provides ability to call a custom javascript code after adding extra items, then it is possible to configure “ARI Fancy Lightbox” to work with these items.

    Thread Starter lupet92

    (@lupet92)

    I can try to call a js when I click in this button ID. There is a function of ARI Fancy Lightbox for update gallery?

    Regards

    Plugin Author arisoft

    (@arisoft)

    When the button is clicked, your gallery plugin does a call to the server and retrieve new images. If call code of “ARI Fancy Lightbox” immediately on click, nothing happens because new images will not be loaded yet. The code should be called when new images are added to the page. If API of your gallery plugin provides a callback for this event, then the code will be executed in the right place. You can ask gallery developers about this callback support.

    Thread Starter lupet92

    (@lupet92)

    I can make callback but what is the right code for reload ARI?

    Kind Regards

    Plugin Author arisoft

    (@arisoft)

    Call the following code:

    ARI_FANCYBOX_INSTANCE.convertElements()

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Refresh gallery after “Load More”’ is closed to new replies.