Improve gallery routes