The world's most advanced component creator for Joomla
An idea
MCD
Need a custom design
Get started
Need a custom design
Get started
Need a custom design
Get started
Need a custom design
Get started
Need a custom design
Get started
Need a custom design
Get started

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

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started