• Resolved terrydenovan

    (@terrydenovan)


    Hi there, I’ve been setting up a new website for a Motor Racing series that I’m involved it and I seem to be having an issue displaying images with the pagination shortcode.

    I’m using the following code to display all the images for the specific category.
    [mla_gallery attachment_category=”2016-round2-supertt” mla_output=”paginate_links,prev_next” posts_per_page=”50″ link=file mla_rollover_text=”{+title+}”]

    If I change it to mla_output=”prev_next”, then 50 images will be displayed, but no prev/next button or page numbers.

    If I use mla_output=”paginate_links”, then no images appear.

    Not sure if it’s related, but I’m also using Offload S3 lite plugin to host the images on Amazon S3. (not using CloudFront).

    Cheers, Terry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for you question and for including the shortcode you are using; very helpful. I am traveling and away from my development system so I can only give you some general guidance.

    The key thing to understand is that you need two [mla_gallery] shortcodes; one for pagination and one for the gallery display. To understand how pagination works I suggest you study the “A Paginated Gallery” example of the “MLA Gallery Examples” section in the Settings/Media Library Assistant Documentation tab. For your specific example I believe something like the following should work:

    
    [mla_gallery attachment_category=”2016-round2-supertt” mla_output=”paginate_links,prev_next” posts_per_page=”50″]
    
    [mla_gallery attachment_category=”2016-round2-supertt” posts_per_page=”50″ link=file mla_rollover_text=”{+title+}”]
    

    I can’t test this but it should work for your application. I am marking this topic resolved but please update it if you have any problems or further questions regarding the above suggestions. Note that there may be a considerable delay in responding as my Internet access depends on where I end up during my travels. Thanks for your patience and for your interest in the plugin.

    Thread Starter terrydenovan

    (@terrydenovan)

    THANK YOU!
    Thanks for being patient with me, and thanks for the VERY quick response, while you’re travelling!

    That is the part that I didn’t understand, I thought there was only one tag. But, all makes sense now.

    Thanks again, and enjoy the rest of your trip.

    P.S. Great Plugin, and even greater support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination issue’ is closed to new replies.