still working on getting tags to work

unable to accces other table from galleries