Contents contributed and discussions participated by Fernando Vega
Crear minuaturas por medio de una ruta - 1 views
-
public function configure()
{
$file_src = sfContext::getInstance()->getController()->genUrl(array(
'sf_route' => 'sf_image',
'format' => 'backend_edit',
'filepath' => '/barfoo/'.$this->getObject()->file
), false);
$this->widgetSchema['file'] = new sfWidgetFormInputFileEditable(array(
'label' => 'Image',
'is_image' => true,
'file_src' => $file_src
));
$this->validatorSchema['file'] = new sfValidatorFile(array(
'required' => false,
1 - 2 of 2
Showing 20▼ items per page
if($this->getRequestParameter('album_id'))
$this->setFilters(array('album_id'=> $this->getRequestParameter('album_id')));