narasimharaosp narasimharaosp - 2 years ago 91
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...

Answer Source

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..

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download