def read_images(cursor):
    """Returns the ID, recorded datetime and image content of all Testbed images."""
    cursor.execute('SELECT id, recorded, testbed_image FROM observations WHERE '
                   'testbed_image IS NOT NULL ORDER BY id ASC')
    return cursor.fetchall()