In this example:
Ajax Load More will infinite scroll a gallery of images that are attached to a specific post.

The following shortcode was used to create the Attachments example.

[ajax_load_more repeater="template_37" post_type="attachment" custom_args="post_parent:20011post_status="inherit" posts_per_page="4" transition="fade" transition_speed="120" images_loaded="true" button_label="Load More Attachments" button_loading_label="Loading Attachments..." css_classes="attachment-example" container_type="div" preloaded="true" preloaded_amount="4" pause="true" pause_override="true"]

Note: When loading attachments you must always define a post_parent ID and set post_status=”inherit” in the shortcode.

The following Repeater Template was used to create the Attachments example.