How to select path for storing advert images

How to select path for storing advert images

New parameters in images sections allow setting paths where uploaded DJ-Classifieds images will be stored. You can set paths for adverts, categories and profiles images.


The uploaded images are split to different subfolders to avoid the problem with reaching a maximum number of files per directory.

A new folder is generated for every 1000 items. 

For example if path for advert is 


then images for advert with id 215 will be stored in


for advert with id 1230


for advert with id 2130


For profiles avatars and categories icons the same mechanism is implemented.

Changing path won't migrate already stored images; it will take effect only on newly uploaded images.

To move previously uploaded images to a new directory

  • move via some FTP client files from the old directory to the new one
  • Go to phpMyAdmin and find #__djcf_images table


  • Modify the path column for the suitable type of advert.

For example, if you want to move advert images to folder ' /images/DJ classifieds/items/ ' then run the query

"UPDATE #__djcf_images SET path = '/images/djclassifieds/items/' WHERE type = 'item';"

      • Related Articles

      • Rotating images in submission and edition form

        Image rotation feature lets you allow your users to rotate the images. Sometimes images uploaded by users are not well rotated. Now you can rotate them to correct position in DJ-Classifieds. Rotating images in the submission form When users add ...
      • How to resize images on upload

        The is a possibility to limit the amount of space used by uploaded photos. You can easily restrict the maximum width and height of uploaded images. This feature depends on the user browser and used uploader runtime.   To change the parameters, open ...
      • How to set your own path for default placeholder images

        You can provide your own path to default placeholders. By default, the path is: /components/com_djclassifieds/assets/images/ but you can change it to other if it seems easier for you (for example if you want to be able to upload those images to Media ...
      • Display category images in adverts

        It's better to use the category image in some types of classified ads web sites rather than the one default image. With this new parameter enabled all adverts that have no image uploaded will pull the category image instead! Open DJ-Classifieds ...
      • Payments for extra images

        In DJ-Classifieds you can charge for adding ads extra images by users. Using this option is very easy and gives a wide range of possibilities. The administrator can set: free images limit (per one ad), extra image price, extra image renew price  Read ...