Django gallery solution.