narasimharaosp narasimharaosp - 1 year ago 51
PHP Question

multiple images uploading and converting them to thumbnails in cakephp

Please can anyone help me out in finding the best imagecomponent for uploading, resizing, cropping.
And little help is needed in this following code.....


echo $this->form->create(array('type'=>'file'));
echo $this->form->input('upload',array('type'=>'file','multiple'));
echo $this->form->end('submit');

if I try to print the file info in TestsController.php

class TestsController extends AppController{

public function index(){
// echo '<pre>';

it ends up with an empty Array() there any other way around...


help for your code..

    pr( $this->request->data );
    // user $this->request->data instead of $this->data
    //for printing submitted values 

and for image there is many component available you can use according your need.......... can visit these links..