Changed show template for picture api + fix routes