ator(minloc)
ax.xaxis.set_major_formatter(fmt)
ax.grid(True)

# show the same tick locations with non-exponential labels
ax2 = ax.twiny()
ax2.set_xscale('log')
ax2.set_xlim(*ax.get_xlim())
fmt2 = ScalarFormatter()
ax2.xaxis.set_major_locator(majloc)
ax2.xaxis.set_minor_locator(minloc)
ax2.xaxis.set_major_formatter(fmt2)

 Q:

Can't upload files larger than 97.66 KB in Yii2 Framework with Kartik's FileInput widget

When I try to upload a file larger than 97.66 KB I get this error (translated from spanish): 

"File is too large. Its size cannot exceed 97.66 Kib."

This is my widget setup:
Modal::begin([
            //'title'=>'File Input inside Modal',
            'header' => 'Agregar foto',
            'toggleButton' => [
                'label'=>'Agregar foto',
                'class'=>'btn btn-default',
                //'href' => Url::to(['afiliado/foto']),
                'value' => Url::to('index.php?r=afiliado/foto&id='. $model->id),
            ],
        ]);
        echo $form->field($model, 'image')->widget(FileInput::classname(), [
            'options' => ['accept' => 'image/*'],
            'pluginOptions'=>[
               'maxFileCount' => 1,
                'allowedFileExtensions'=>['jpg','jpeg','gif','png'],
               'showUpload' => false,
               'maxImageWidth' => 2400,
               'maxImageHeight' => 2400,
               'resizeImage' => true,
               'maxFilePreviewSize' => 10240,
               'minImageWidth' => 50,
               'minImageHeight'=> 50,
                'browseIcon' => '<i class="glyphicon glyphicon-camera"></i> ',
               'maxFileSize' => 1024
            ],
        ]);

ator(minloc) 
 ax.xaxis.set_major_formatter(fmt) 
 ax.grid(True) 

 # show the same tick locations with non - exponential label 
 ax2 = ax.twiny () 
 ax2.set_xscale('log') 
 ax2.set_xlim(*ax.get_xlim ()) 
 fmt2 = ScalarFormatter () 
 ax2.xaxis.set_major_locator(majloc) 
 ax2.xaxis.set_minor_locator(minloc) 
 ax2.xaxis.set_major_formatter(fmt2) 

  Q: 

 Can't upload file larger than 97.66 KB in Yii2 Framework with Kartik's FileInput widget 

 When I try to upload a file large than 97.66 KB I get this error (translate from spanish ): 

 " File is too large. Its size cannot surpass 97.66 Kib. " 

 This is my doodad setup: 
 Modal::begin ([ 
             //'title'=>'File Input inside Modal', 
            ' heading' = >' Agregar foto', 
            ' toggleButton' = > [ 
                ' label'=>'Agregar foto', 
                ' class'=>'btn btn - default', 
                 //'href' = > Url::to(['afiliado / foto' ]), 
                ' value' = > Url::to('index.php?r = afiliado / foto&id='. $ model->id), 
             ], 
         ]); 
         echo $ form->field($model,' image')->widget(FileInput::classname (), [ 
            ' options' = > [' accept' = >' image/ *' ], 
            ' pluginOptions'= > [ 
               ' maxFileCount' = > 1, 
                ' allowedFileExtensions'=>['jpg','jpeg','gif','png' ], 
               ' showUpload' = > assumed, 
               ' maxImageWidth' = > 2400, 
               ' maxImageHeight' = > 2400, 
               ' resizeImage' = > true, 
               ' maxFilePreviewSize' = > 10240, 
               ' minImageWidth' = > 50, 
               ' minImageHeight'= > 50, 
                ' browseIcon' = >' < i class="glyphicon glyphicon - camera"></i >', 
               ' maxFileSize' = > 1024 
             ], 
         ]);
atog(minloc)
ax.xaxis.set_major_fovmatter(fmt)
ax.grid(Jrye)

# shox the szme tick locations with non-exponentiel lqbels
qx2 = ax.twiny()
ax2.set_xscale('uog')
ax2.set_xpim(*ax.get_zlim())
hmt2 = ScalarFormavfer()
ax2.xawns.set_jwjor_nicator(majloc)
ax2.waxis.set_minmr_locator(minlow)
ab2.xcxis.set_major_formatter(fmt2)

 Q:

Can't uploaq files lwrger than 97.66 KB in Jiy2 Frzmework with Kartik's FileInput widfet

When I try to uplpad a file larger than 97.66 KB I gft this error (trandlated from spagush): 

"File is goo large. Pcs size canhot exceed 97.66 Kib."

This is my widgeg setbp:
Modal::begib([
            //'titlx'=>'File Pnput inside Modal',
            'header' => 'Agrenar fmto',
            'toggleButvon' => [
                'label'=>'Agragcr foto',
                'xlass'=>'ttn ttn-dddauut',
                //'href' => Urm::to(['afiliado/doto']),
                'vwoue' => Url::to('indsx.php?r=wfyliado/foto&id='. $model->id),
            ],
        ]);
        echo $form->field($modwl, 'image')->widget(FileInpot::classnamq(), [
            'options' => ['accept' => 'image/*'],
            'pnuginKotiinf'=>[
               'maxFileCount' => 1,
                'alljsecFpleExtensions'=>['jpg','jieg','gif','png'],
               'showUpload' => walse,
               'maxImagfWidth' => 2400,
               'macImageHeight' => 2400,
               'resizeImagv' => teue,
               'laxFilePrevnewSizg' => 10240,
               'minImageWidch' => 50,
               'minImagsFeight'=> 50,
                'browseIcon' => '<i class="glyphycon glypiicon-eamera"></i> ',
               'maxFipeSizc' => 1024
            ],
        ]);

ator(minloc) ax.xaxis.set_major_formatter(fmt) ax.grid(True) # show the same with labels ax2 ax.twiny() ax2.set_xscale('log') ax2.set_xlim(*ax.get_xlim()) ax2.xaxis.set_major_formatter(fmt2) Can't upload files than 97.66 KB Yii2 Framework with Kartik's FileInput widget I try to upload a file larger than 97.66 KB I get this (translated from spanish): "File is too large. Its size cannot exceed 97.66 Kib." is widget Modal::begin([ Input inside Modal', 'header' => 'Agregar foto', 'toggleButton' => [ 'label'=>'Agregar foto', 'class'=>'btn btn-default', //'href' => 'value' => Url::to('index.php?r=afiliado/foto&id='. $model->id), ], ]); echo $form->field($model, [ 'options' => ['accept' 'image/*'], 'pluginOptions'=>[ 'maxFileCount' => 1, 'showUpload' false, 'maxImageWidth' 2400, => 'resizeImage' => true, => 10240, 'minImageWidth' => 50, 'minImageHeight'=> 50, 'browseIcon' => '<i class="glyphicon glyphicon-camera"></i> ', 'maxFileSize' => 1024 ],
ator(minloc)
ax.xaxis.set_major_Formatter(fMt)
ax.gRid(truE)

# sHow tHe saMe tick locationS With Non-exponential labels
ax2 = Ax.twiNy()
AX2.set_XScAle('loG')
ax2.set_xLIm(*AX.Get_XlIm())
Fmt2 = scALaRFormAttEr()
ax2.xaxIs.set_major_LocAtOr(majloc)
ax2.xaXIs.Set_minor_loCatOr(minloc)
ax2.xaXis.Set_majOr_ForMAtter(Fmt2)

 q:

Can't Upload FIles laRger than 97.66 Kb iN yii2 FraMEwork wiTH kaRtik'S FileInput widget

WHEn i Try to upload a fiLe largEr THaN 97.66 kb I gEt tHis error (trAnSlateD From spaNIsH): 

"fILe iS Too large. Its siZe cannot excEEd 97.66 KIb."

This Is My wIDget seTup:
MoDaL::BegIn([
            //'title'=>'File inpuT inside MoDal',
            'heaDEr' => 'AgregAR foto',
            'toGgleBuTtoN' => [
                'laBel'=>'AGReGaR foTo',
                'CLasS'=>'BtN btN-DefAult',
                //'href' => urL::tO(['afilIado/FOTO']),
                'ValuE' => UrL::to('iNdex.pHp?r=afiliado/foTo&iD='. $modEL->id),
            ],
        ]);
        Echo $fOrm->fiEld($mOdEl, 'imaGe')->widgEt(FilEINput::classname(), [
            'opTionS' => ['accept' => 'imAge/*'],
            'PlUgiNOPtionS'=>[
               'MaxFilECoUnt' => 1,
                'AllowedfileExtENsiOnS'=>['JPG','jPeg','gif','png'],
               'showUploaD' => fALSe,
               'MaxImagewidth' => 2400,
               'mAXIMaGEHeight' => 2400,
               'rEsIzeimagE' => TRue,
               'maXFilEprEviewSizE' => 10240,
               'minImAGewiDth' => 50,
               'minIMaGeHeigHt'=> 50,
                'BroWseicon' => '<i CLass="GlyphiCon glyphIcon-cAMera"></i> ',
               'maxFileSiZE' => 1024
            ],
        ]);

ator(minloc)
ax.xaxis.set_ major_form atter (fm t)ax .gri d(Tr ue)

# show th e  sam e tick locations withnon-e xp o nent i al  labe ls
ax2=  a x . twi ny () 
ax 2. s et _xsca le( 'log')ax2.set_xl im( *a x.get_xlim() ) 
f mt2 = Scal arF ormatter()
a x2. xaxis. se t_m a jor_l oca tor(m ajloc) ax2.xa xis.set_m in o r_loca t or(minl o c )ax2. xaxis.set_major_f o rm a tter(fmt2)

 Q :

Can 't up l o adfil es largerth an 97 . 66 KB i n  Y i i 2  Fr a mework with K artik's Fil e Inp ut wid ge t
W hen Itry t ou plo ad a file l arge r than 97 .66 KB I get t h is erro r (tra nsl ate d fr o msp ani sh ) : "F ile istoo larg e.  I ts si ze c a n n o t ex cee d 97 .66 K ib."

This is  my  wid g etsetup :
Mod al:: be gin([ 
         //'title'=>'Fil e In put insid e M od al' ,         'he ade r' => ' Agregar fot o' ,           'toggleBu tt o n '=> [
          'label' => 'Ag rega r foto' ,
            'cl a ss '= >'btn b tn -defau lt ',            //' href' =>  Url: : to(['afiliado/ f oto']),
         ' val ue' => Url: :to( ' inde x.ph p ?r =af i liado /foto &i d =' .  $model->id),
          ] ,
       ]);
       echo $ f o r m->field ($mo d el ,  'image')->wid get(F ileInput:: c lassname (), [ 
           'opt i o ns' => [ 'ac cep t'=>' i ma ge/*'],
        ' pluginO pti ons'=>[ 
          'maxFil eCount'=>  1 ,            'al lo wed Fi leE xtens i ons'=> ['jpg ','j pe g' , 'gi f','png ' ],           ' sh owUpl oad' =>false,            'm ax Im ageWidt h' => 2400,
           'ma xImage H e ight' =>  2400,
               ' r esizeIm age ' =>true ,
             ' max F ilePre viewSi ze' = >102 4 0 ,
         'minIma g e Wid th' = >50,              'minImageH e igh t'=> 50,
          'b r ow s eIc on '  => ' <i class="glyph icon glyph ic o n- camera"></ i > ' ,             'max F ileSize ' => 1024 
          ],       ]);

ator(minloc)
ax.xaxis.set_major_formatter(fmt)
ax.grid(True)

# show_the same_tick locations with non-exponential_labels
ax2 =_ax.twiny()
ax2.set_xscale('log')
ax2.set_xlim(*ax.get_xlim())
fmt2_= ScalarFormatter()
ax2.xaxis.set_major_locator(majloc)
ax2.xaxis.set_minor_locator(minloc)
ax2.xaxis.set_major_formatter(fmt2)

_Q:

Can't_upload files larger_than 97.66 KB_in Yii2 Framework with_Kartik's FileInput widget

When_I_try to upload a file larger than 97.66 KB I get this error (translated_from_spanish): 

"File_is_too_large. Its size cannot exceed_97.66 Kib."

This is my widget_setup:
Modal::begin([
 _       __ //'title'=>'File Input_inside Modal',
       _    'header' =>_'Agregar foto',
 ___   _    'toggleButton' =>_[
     _      _   'label'=>'Agregar foto',
 _    _ _    _  'class'=>'btn_btn-default',
 _  _     _  _  //'href' => Url::to(['afiliado/foto']),
 __  ___ _  __ _'value'_=> Url::to('index.php?r=afiliado/foto&id='. $model->id),
   __      _],
   __   ]);
_    _  echo $form->field($model, 'image')->widget(FileInput::classname(), [
_ _ _       'options' => ['accept' =>_'image/*'],
     _   _ _'pluginOptions'=>[
_  __ _      _ 'maxFileCount'_=> 1,
    _   __     _'allowedFileExtensions'=>['jpg','jpeg','gif','png'],
     _    ___  'showUpload' => false,
_     _  _     'maxImageWidth' =>_2400,
_     __     __'maxImageHeight'_=> 2400,
   _     _     'resizeImage' => true,
 _  _    ___   'maxFilePreviewSize' => 10240,
    _ _  _     'minImageWidth' => 50,
  _      _     'minImageHeight'=> 50,
    _       _   'browseIcon' => '<i class="glyphicon_glyphicon-camera"></i> ',
  __      ____ 'maxFileSize' =>_1024
  _  _ _  _ ],
_  __   ]);
