@html.route('/<project_name>', methods=['GET'])
@html.route('/<project_name>/images', methods=['GET'])
def get_imagelist(project_name):
    project = Project.query.filter_by(name=project_name).first()
    if (not project):
        return render_template('error.html')
    images = get_imagetable(project)
    return render_template('images.html', project=project, images=images)
@html.route('/<project_name>', methods=['GET'])
@html.route('/<project_name>/images', methods=['GET'])
def get_imagelist(project_name):
    project = Project.query.filter_by(name=project_name).first()
    if (not project):
        return render_template('error.html')
    images = get_imagetable(project)
    return render_template('images.html', project=project, images=images)