code: def prev_img(self, loop=True):
          
          channel = self.get_current_channel()
          if channel is None:
              self.show_error("Please create a channel.", raisetab=True)
              return
          channel.prev_image()
          return True
docs: Go to the previous image in the channel.