Function that gets the instance of gallery, by a given ID.
ID of the Gallery that will be looked for.
the Gallery instance
Function that gets the instance of gallery, by a given ID.