frontend for the gallery app