Uploader

For images, we strongly recommend to use the cook uploader instead of Joomla! native image picker and media manager. Few reasons:

  • The native Joomla! image picker cannot work on 2 different fields in the same page.
  • Files are not stored in hidden path
  • If you plan to move / migrate your application, you gonna need to be very carefull to preserve the images paths correct.

With indirect access, you will be able to move the media folders easily, because the database only stores short relatives paths.


In the builder, in the field properties, you can set up the upload options.

Cook Joomla Files Medias Upload

Renaming rules

This is the most important about files...

The file is always renamed before to be stored.

Using tags:

  • {BASE} : Original file name without extension.
  • {ALIAS} : Safe aliased base name.
  • {EXT} : Original extension.
  • {MIMEXT} : Extension from Mime-header.
  • {ID} : Id of the row item
  • {RAND} : Randomized value
  • {DATE(Y-m-d)} : Formated date.
  • {...#6} : Limit to 6 chars. 
    ex : {ALIAS#6} ; {RAND#10}

You can create relative sub folders:

ex: {ID}/{RAND#8}.{MIMEXT}

You can also choose the special behaviors when a file is found with the same name :

  • Ignore
  • Override
  • Suffix it

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started