Added template for detail view and handler for create image button click