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