create('Image', array('action' => 'view')); echo $form->input('v_id', array('type'=>'select', 'options'=>$venues, 'label'=>false, 'empty'=>'Select Venue')); echo "
"; echo $form->submit('Select'); echo "
"; echo $form->end(); ?>
"; echo $this->Html->image('gallery/'. $image['images']['file_path'],array('width'=>'200', 'height'=>'200')); //echo "" ; echo "
"; echo "
"; endforeach; ?>
.
Please add 200px X 200px to get clear image."; echo $form->create('Image', array('type' => 'file','action'=>'save','enctype'=>'multipart/form-data')); //echo $this->Form->create('Images', array('type' => 'file','action' => 'save'))); //echo $form->file('File'); echo $form->file('File', array('type' => 'file','name'=>'uploadFile[]','multiple' => 'multiple',)); echo $form->hidden("v_id",array ("value"=>$this->data['Image']['v_id'])); echo $form->submit('Upload',array('name'=>'Submit')); echo $form->end(); } ?>