image not displaying in ci : controller has index() method and display() method. Method index displays the image. and this method called display() doesn't display the images. Both methods are in same controller. Both methods are calling the same view file called $this->load->view('home/portfolio2');. index() method is displaying the image but display() method not displaying the image. Any advise, help will be more appreciated.