⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


hasan37

Member Since 15 Apr 2015
Offline Last Active Apr 15 2015 07:56 AM
-----

Posts I've Made

In Topic: can I use the imagecrud image_path dynamically with 'category'

15 April 2015 - 07:54 AM

This is what i have been trying.

function example1()
	{	
		$album = $this->input->get('album');
		
		$set_album = "assets/uploads/".$album;
		
		$image_crud = new image_CRUD();
		
		$image_crud->set_primary_key_field('id');
		$image_crud->set_url_field('url');
		$image_crud->set_table('example_1')
			->set_image_path($set_album);
			
		$output = $image_crud->render();
		
		$this->_example_output($output);
	}

In Topic: can I use the imagecrud image_path dynamically with 'category'

15 April 2015 - 07:52 AM

Has anyone found a solution for this?