Advertisement

Is it possible to change images folder location? Topic is solved

Need help with the Administration of your Joomla! 5.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
faridsilva
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Jul 12, 2006 12:41 pm

Is it possible to change images folder location?

Post by faridsilva » Fri Oct 04, 2024 11:44 am

I'm using joomla as CMS, it has an 'images' folder where all media is uploaded. I'm wondering if there is a way to change it to a different disk or subdomain?

Advertisement
gws
Joomla! Champion
Joomla! Champion
Posts: 6403
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Is it possible to change images folder location?

Post by gws » Fri Oct 04, 2024 12:30 pm

Why would you want to?

faridsilva
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Jul 12, 2006 12:41 pm

Re: Is it possible to change images folder location?

Post by faridsilva » Fri Oct 04, 2024 1:35 pm

Because I wish to decouple joomla frontend from backend, so I prefer to have images folder in frontend subdomain and joomla in backend subdomain.

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2716
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Is it possible to change images folder location?

Post by JAVesey » Sat Oct 05, 2024 12:01 pm

You can do this in Global Configuration by changing the settings in the “Media” component.

There are settings for:
  • Path to Files Folder
  • Path to Images Folder
HTH
John V
Cardiff, Wales, UK
Joomla 5.2.0 "live" site on PHP 8.3.2 and MariaDB 10.11.8 (with b/c plugin enabled)
Joomla 5.2.0 on MAMP Pro 7.1.3 with PHP 8.3.9 and MySQL 8.0.35 (with b/c plugin enabled)

SharkyKZ
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3081
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Is it possible to change images folder location?

Post by SharkyKZ » Sat Oct 05, 2024 12:26 pm

This is controlled by filesystem plugins. Default "Filesystem - Local" plugins does not allow directories outside Joomla's root. You'd need a custom plugin.

faridsilva
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Jul 12, 2006 12:41 pm

Re: Is it possible to change images folder location?

Post by faridsilva » Sat Oct 05, 2024 12:54 pm

Many thanks.

faridsilva
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Jul 12, 2006 12:41 pm

Re: Is it possible to change images folder location?

Post by faridsilva » Tue Oct 08, 2024 7:23 pm

@JAVesey many thanks for your kindly reply but it only works in the same subdomain Joomla is installed, and I have my frontend in another subdomain.
Anyway I solved it by retrieving images directly from Joomla subdomain.

Decoupling frontend from Joomla I got over 90 points in page speed performance punctuation in a page with over 2mb size.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44681
Joined: Sat Apr 05, 2008 9:58 pm

Re: Is it possible to change images folder location?

Post by Webdongle » Tue Oct 08, 2024 7:58 pm

faridsilva wrote: Tue Oct 08, 2024 7:23 pm .... I have my frontend in another subdomain....
How?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Advertisement

Post Reply

Return to “Administration Joomla! 5.x”