Hello,
I have a question, I need a way to upload one image but stored in two location..
Example :
current domain : http://mydomain.com
uploaded image : my_picture.jpg
store-1 : http://mydomain.com/pics
store-2 : http://myseconddomain.com/pics
My current code :
function product_image()
{
$crud = new grocery_CRUD();
$crud->set_table('product_image');
$crud->columns('PATH');
$crud->set_field_upload('PATH','pics/');
$output = $crud->render();
$this->_example_output($output);
}
Thank you