As with everything in ExpressionEngine, everything that appears on your website must be coded in a template. Your photo gallery is no exception.
You will now create new templates in a design very similar to the one used by the FAQs channel — a single-entry template called comment
so that visitors can leave comments on individual images, and a multiple-entry page where visitors can browse and view images by category. You will start with the single-entry page.
The single-entry page is where an individual photograph is displayed, along with the caption and any comments. In this section, you will create a new template group called photos
and then create a new template called comment
(since the primary reason to visit the single-entry template will be to view and post comments).
1. From the main menu, select Design, Templates, Edit, and then Create Group. Call this template group
photos.
Do not duplicate a group and do not make the index...