Add Franchise
Form->control('fran_email'); //echo $this->Form->control('username'); echo $this->Form->control('password'); echo $this->Form->control('contact_person'); echo $this->Form->control('contact_no'); echo $this->Form->control('other_mob_no'); echo $this->Form->control('state'); echo $this->Form->control('city'); echo $this->Form->control('address'); echo $this->Form->control('center_name'); echo $this->Form->control('land_mark'); echo $this->Form->control('pincode'); echo $this->Form->control('gst_no');*/ $url=$this->Url->build('/webroot/img/', true); if(!empty($franchise->center_pictures)){ echo $this->Html->image($url.'franchises/'.$franchise->center_pictures, ['alt' => 'Picture', 'width' => '100px', 'height' => '100px']); } ?>