Gallery udated

Gallery functioning