
{% extends "root.html" %}

{% block extra_head %}
    <link rel="stylesheet" href="/static/gallerystyle.css">
{% endblock %}

{% block second_title %}
<h2> Gallery </h2>
{% endblock %}

{%block main_content%}
    <figure>

        <a href="{{ image_url }}" target="_blank">
            <img id="gallery_image" src="{{ image_url }}"> </img>
        </a>
        
        <article>
            <figcaption id="gallery_title"> {{ image_title }} </figcaption>
            <span>  {{ image_desc }} </span>
            <br>
            <a href="{{ artist_src_link }}"> Artist: {{ artist_name }} </a>
            <br>
            <a href="{{ image_src_link }}"> Source link </a>
        </article>
    </figure>
{%endblock%}
