Added config options for photo sizes and pagination