disable a picture in carousel bootstrap

Can i disable a picture in bootstrap-carousel using a button? the picture i am using for slideshow is from the database. Can you help me to solve this problem. this is my code.

     while($row =enter code here mysqli_fetch_array($result))
  {
   $output .= '
   <tr>
   <td>'.$row["id"].'</td>
   <td>'.$row["file_name"].'</td>
   <td>
   <img src="data:image/jpeg;base64,'.base64_encode($row['name'] ).'" height="60" width="75" class="img-thumbnail" />
   </td>
   <td><button type="button" name="update" class="btn btn-info bt-xs update" id="'.$row["id"].'">UPDATE</button></td>
//the disable button
   <td><input type="button" class="btn btn-success" value="DISABLE" id="'.$row["id"].'"></input></td>
   <td><button type="button" name="delete" class="btn btn-danger bt-xs delete" id="'.$row["id"].'">DELETE</button></td>
   </tr>
   ';
 }
 $output .= '</table>';
 echo $output;
}