Wrote the index, show, new, edit templates for pictures