Welcome to the new HowToJoomla!
We've completely revamped the design to make the site easier to read and easier to navigate. We hope you like the changes!
How to change your default images directory in Joomla! 1.5
September 26, 2008 | by Cory | 24 CommentsOne of the most annoying things about Joomla! (in my opinion) is that the default images directory (or folder, whatever you want to call it) is yoursite.com/images/stories, and the default directory for the media manager is yoursite.com/images. That makes no sense to me. Read on to find out why this makes no sense, and how you can easily fix it.
Adding images to articles
One of the great new features in Joomla! 1.5 is the nice little "Images" button at the bottom of the text editor in the article manager. That button launches a pop-up in which you can easily locate the image you wish to use and add it to your article.
The only problem is, this nice little pop-up starts at the default images directory (yoursite.com/images/stories) and not the default media directory (yoursite.com/images). If your images are not in yoursite.com/images/stories or some sub directory of this folder, then you will not be able to get to it from the image locator.
The Solution
Fortunately, the core team in their infinite wisdom decided to make it possible for you to change which directory acts as the default images directory. Here's how.
First, you need to log in to yoursite.com/administrator and navigate to the global configuration manager either by clicking on the "Global Configuration" button in the main control panel or by clicking "Site->Global Configuration" in the administrator main menu.
The Global Configuration is divided into 3 main sections: Site, System, and Server. Click on "System" to view the System configuration and scroll down to media settings, which you can see in the following screen shot.

Change "Path to Image Folder" to your desired location. This path should be relative to the root of your site. So for example, if you wanted your images folder to be "monkeys" for some strange reason, then you would simply type "monkeys" in the box. I usually just change it to "images" to match the "Path to Media Folder" value, but you can set it to whatever you want it to be. Just make sure that the location you choose actually exists on your server.
Finally, click "Save" and you're all set. Now your default images directory is a location that actually makes sense for your site. That's all there is to it.
Questions
As always, please feel free to post any questions or comments about this.
About the Author
In the years since Joomla! was founded, Cory has built dozens of websites with Joomla! and helped thousands of people find answers to questions about Joomla! through HowToJoomla.net. Cory has also written a book about Joomla titled Beginning Joomla! Web Site Development published by Wrox in April, 2009. In February of 2008, Cory founded Cory Webb Media, LLC, where he provides consulting and web development services for companies of all sizes. You can follow Cory on Twitter @corywebb, or become a fan of Cory Webb Media on Facebook.
Trackback(0)
Comments (24)
written by nc, September 27, 2008
written by Kirti, September 27, 2008
I have one more question - I do not want any registered user to be able to use the images uploaded by other users or by backend admin/managers. Currently, all images uploaded on Joomla 1.5 are available to every other user. How can this be prevented?
written by Cory, September 29, 2008
@Kirti... This is not possible with any system. All of your images are directly available simply by typing the location of the image, regardless of the level of access you have to the site.
written by shan, October 05, 2008
Template driven. All Joomla (Wordpress too) sites look alike, whatever template you use...
Everything is constricted to boxes that are placed in certain places. It's horrifying.
written by Cory, October 05, 2008
written by Duke, October 13, 2008
written by mark weatherill, December 02, 2008
I would like to add a link to an image in a content page, like for eg. .
When you add the image using the WYSIWYG editor and then click the add link icon, a popup appears asking for the Link URL.
The question is: how to reference the page you want the link to go to?
Cheers,
Mark Weatherill.
p.s. it may be an enhancement to your nicely organized website if you added the capability for logged in users to easily view all their posts.
written by Cory Webb, December 02, 2008
Thanks for the suggestion. I have big plans for this site in the somewhat near future. Stay tuned.
written by Amin, December 10, 2008
I have searched many websites to fine a answer to my question, but...
I am trying to change my buttons text ( Main Menu) ( Read more...). I couldnt find anywhere in the joomla menu manager. Can u plz help me with my qeution. For insdent I gonna change from english to persian langauge the text of the buttons..
Best regards
written by Cory Webb, December 10, 2008
written by greg@afinspect.com, January 08, 2009
Thanks for the article. I have a question regarding the image directory. I want to move some static content (images, javascript, and possibly css) to a subdomain. Is this possible using the steps in the how to listed in this article?
The reason I want to move static content to a subdomain is to eliminate some http requests. I've done a bit of research, and have read that moving static content to a subdomain will relieve a bottle neck in terms of simultaneous http requests from a single domain.
From what I have read, reducing the number of http requests is the best way to speed up page load time, and moving some http requests to a separate subdomain is the second best way to speed up page load time.
Thank you very much for any help or advice.
written by Cory Webb, January 08, 2009
written by jitendra, February 19, 2009
written by vickie, March 05, 2009
written by Adewuyi O. Adeladan, May 12, 2009
I build animations using flash pretty good. However, i replaced the default joomla logo with my swf file in the CSS code and also placed the swf file in the relevant directory, saved and then checked the result - but the image position was blank on the page.
I again added "swf" into "Legal Image Extensions" in the global configuration, yet no difference. I made sure the swf animation had the same dimension with the default logo. Still nothing!
I can't figure out where i'm wrong here. I think i need your help. Thanx!
written by jennifer, May 17, 2009
When I found this tip from you I was so excited as I hate the name 'stories' for this folder. But when I followed your instructions, it didn't work for me. When I went to insert an image or a document link, I still got 'stories' as my root folder. I even tried to rename stories but it magically reappeared as an empty folder! I'm using JCE and have looked in the configurations for that as well but to no avail. Any ideas?
written by Cory, May 17, 2009
written by jennifer, May 17, 2009
Maybe it is JCE. I'll continue my search for an answer and let you know when I find it!
Cheers.
written by jennifer, May 18, 2009
http://www.joomlacontenteditor...ault-path
Hope this helps others in the future. Goodbye to 'stories'....
Thanks again for prompting me to even look into this from your post!
written by jennifer, May 18, 2009
http://www.joomlacontenteditor...fault-path
Write comment





