title: Create display barcode using codeigniter with library zend barcode
body: <p>I tried to make the barcode degnan using zend library barcode , barcode appear when running perfectly but his display case full , how to display results in a barcode into an iframe or img ???</p>
  
  <p>This my Controller</p>
  
  <pre><code>class Contohbarcode extends CI_Controller {
  
      function __construct() {
          parent::__construct();
      }
  
  function index() {
      $this-&gt;load-&gt;view('insertcode');
  }
  
  function bikin_barcode() {
      $this-&gt;load-&gt;library('zend');
      $this-&gt;zend-&gt;load('Zend/Barcode');
  
      $barcode = $this-&gt;input-&gt;post('barcode');
      Zend_Barcode::render('code128', 'image', array('text'=&gt;$barcode), array());
  }
  
  }
  </code></pre>
  
  <p>View insertcode</p>
  
  <pre><code>&lt;form method="post" action="&lt;?php echo base_url(); ?&gt;contohbarcode/bikin_barcode" class="form-horizontal"&gt;
      &lt;div align="center"&gt;
      &lt;input name="barcode" id="location" type="text"  placeholder="insert your code"&gt;
      &lt;/p&gt;
      &lt;input type="submit" class="btn" name="submit" value="Find"&gt;
      &lt;/div&gt;
  &lt;/form&gt; 
  </code></pre>