A portfolio item can link to a page, post, URL or open a lightbox. You can have image and video items. Any post type can be the source of your portfolio items. An easy method to keep your items organized is to make them all sub-pages of a main “Portfolio” page then select the parent page as the source of the items. It will automatically generate items like those shown below from the child pages.
Below is a gallery created with the WordPress shortcode,
. Gallery Shortcode Documentation