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 ...