multiple images uploading and converting them to thumbnails in cakephp

narasimharaosp

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

index.ctp

<?php
 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

 <?php 
  class TestsController extends  AppController{

     public function index(){
        // echo '<pre>';
        print_r($this->data);
  }
}
?>

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

Kuldeep Choudhary

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.. http://bakery.cakephp.org/articles?by=crop

http://labs.iamkoa.net/2007/10/23/image-upload-component-cakephp/

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Converting multiple Postscript images into an animated gif

From Dev

Multiple images rename & uploading in PHP

From Dev

Selecting multiple files and uploading them using Jersey

From Dev

Uploading multiple images from Share Extension

From Dev

uploading multiple files and zip them in a folder in the server

From Dev

cakePHP 3.0 uploading images

From Dev

Uploading multiple images in codeigniter?

From Dev

Uploading Multiple Images using CarrierWave

From Dev

All images not uploading in multiple images upload

From Dev

Uploading multiple images with volley?

From Dev

Uploading multiple images with other parameters in Swift

From Dev

Django REST: Uploading and serializing multiple images

From Dev

Uploading multiple images to mysql database on Apache server

From Dev

PHP: Uploading multiple images to imgur at once

From Dev

Multiple images rename & uploading in PHP

From Dev

Woocommerce Category Images Thumbnails

From Dev

Reload Images AND Thumbnails in jssor

From Dev

PHP: Uploading multiple images at the same time

From Dev

Uploading multiple images in webservice using PHP

From Dev

Uploading multiple images with paperclip?

From Dev

Uploading multiple images with Django

From Dev

Uploading multiple images using SRWebClient in Swift

From Dev

Uploading multiple images in codeigniter?

From Dev

cakephp rest api multiple file uploading

From Dev

uploading/downloading multiple images the right way?

From Dev

Rails and carrierwave uploading multiple images fails

From Dev

Converting multiple dropdowns to divs and grouping them jquery

From Dev

Django multiple images not uploading

From Dev

Unable to display images after uploading them in react component

Related Related

HotTag

Archive