Change default image directory on joomla 2.5

On joomla 2.5, I can’t find parameter of default image directory in site configuration, usually “images” or root web directory/images.
Then I try to install K2 extension, in parameter configuration of K2 have default root image directory in “media/k2/items”. But still go to default image directory..
Then I have an idea make it symbolic link to change default image directory.

first, current check directory position
# pwd
/var/www/html/joomla/
Second, delete images directory.
# rm -rf images
Third, make a symbolic link to target directory
# ln -s media/k2/items images

Now check on web joomla administration go to image or k2 configuration – items then image tab – browse server.
It works !

Posted with WordPress for BlackBerry.

Leave a Reply