Beispiel #1
0
 public function __construct(array $attributes = array())
 {
     $this->hasAttachedFile('image', ['styles' => ['medium' => '470x330']]);
     parent::__construct($attributes);
 }
Beispiel #2
0
 public function __construct(array $attributes = array())
 {
     $this->hasAttachedFile('image', ['styles' => ['left' => 'x248']]);
     parent::__construct($attributes);
 }
Beispiel #3
0
 public function __construct(array $attributes = array())
 {
     $this->hasAttachedFile('image', ['styles' => ['thumbnail' => '275x', 'small' => '100x', 'big' => '1000x']]);
     parent::__construct($attributes);
 }