Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: slideshow
#11

Hello,

I use another method to upload pictures.  Please help checking my codes?


I place this file to show on my website:

controllers/images/blog.jpg



controllers/cpages.php


PHP Code:
public function imageshow()
        {
            
        
$config['image_library'] = 'gd2';
        
$config['source_image'] = '/images/blog.jpg';
        
$config['create_thumb'] = TRUE;
        
$config['maintain_ratio'] = TRUE;
        
$config['width'        75;
        
$config['height'      50;

        
$this->load->library('image_lib'$config);

        
$this->image_lib->resize();    
        
        
$this->load->view('slideshow_images'); 
    
        } 


I wonder why I cannot show anything on the screen?

I already type this on my url:  http://127.0.0.1/CompanyProfileCI/index..../imageshow

The picture does not appears.
" If I looks more intelligence please increase my reputation."
Reply


Messages In This Thread
Undefined variable: slideshow - by davy_yg - 06-08-2016, 05:50 AM
RE: Undefined variable: slideshow - by Wouter60 - 06-09-2016, 02:12 PM
RE: Undefined variable: slideshow - by davy_yg - 06-09-2016, 07:19 PM
RE: Undefined variable: slideshow - by arma7x - 06-10-2016, 01:40 AM
RE: Undefined variable: slideshow - by InsiteFX - 06-10-2016, 03:37 AM
RE: Undefined variable: slideshow - by davy_yg - 06-10-2016, 04:38 AM
RE: Undefined variable: slideshow - by suhindra - 06-10-2016, 04:53 AM
RE: Undefined variable: slideshow - by davy_yg - 06-10-2016, 06:14 AM
RE: Undefined variable: slideshow - by InsiteFX - 06-10-2016, 11:08 AM
RE: Undefined variable: slideshow - by davy_yg - 06-10-2016, 08:26 PM
RE: Undefined variable: slideshow - by davy_yg - 06-22-2016, 01:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB