Welcome Guest, Not a member yet? Register   Sign In
I have a probelm with view
#2

[eluser]cpass78[/eluser]
Does the following work?

Code:
function get_images() {
        $file = scandir ( $this->gallery_path );
        
        $file = array_diff ( $file, array ('.', '..', 'thumbs' ) );
        //   print_r($file);
        $image = array ();
        
        foreach ( $file as $key => $f ) {
            $image ['url'] = $this->gallery_path_url . $f;
            $image ['thum_url'] = $this->gallery_path_url . 'thumbs/' . $f;
        }
        $this->load->view ( 'upload_success', $image );
    }


Messages In This Thread
I have a probelm with view - by El Forum - 07-24-2011, 02:38 PM
I have a probelm with view - by El Forum - 07-24-2011, 03:16 PM
I have a probelm with view - by El Forum - 07-24-2011, 05:44 PM
I have a probelm with view - by El Forum - 07-25-2011, 02:12 AM
I have a probelm with view - by El Forum - 07-27-2011, 12:41 PM
I have a probelm with view - by El Forum - 07-27-2011, 05:17 PM
I have a probelm with view - by El Forum - 07-27-2011, 08:53 PM
I have a probelm with view - by El Forum - 08-01-2011, 12:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB