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.
From the 3.7.2 version uploaded images are split to different subfolders to avoid the problem with reaching a maximum number of files per directory. 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 previoustly uploaded images to new directory, please
- move via some ftp client files from old directory to new one
- Go to phpMyAdmin and find #__djcf_images table
- Modify path column for suitable type of advert.
For example if you want to move advert images to folder '/images/djclassifieds/items/' then run query
"UPDATE #__djcf_images SET path = '/images/djclassifieds/items/' WHERE type = 'item';"