show_img

show_img

jekyll filter to show only x number of images in a post or page

##Show only some images from your Jekyll posts##

Drop this filter in your _plugins directory to display only a certain number of images in your post content.

Use it like this: example.post.content | show_img: 2 to show only the first two images in a post.