Page 1 of 1

Use external server for images

Posted: Fri Jun 01, 2018 10:28 am
by huubs
Hello all,

Does anyone has experience with using a different server for your images? I have a website with lots of images, and I think about using another server to speed up the website but also to spread the load. Because images take a lot of data it's cheaper for me to get for example an Amazon server for the images, but I don't know how to implement this. I know I can change the template URLS for the images, but how do I get it that the upload function uploads it to the external server instead of the server Joomla resides on?

Re: Use external server for images

Posted: Fri Jun 01, 2018 10:46 am
by lefteriskavadas
Hi,

As far as I remember the current Joomla media manager does not provide plugin events for implementing something like this. I think this will be added in Joomla 4.

The only option you have currently is find (or build) an extension to replace the core media manager.

Finally, keep in mind that serving files directly from Amazon S3 is not a good option. You should probably use it with a CDN like Cloudfront.

Regards

Re: Use external server for images

Posted: Fri Jun 01, 2018 11:19 am
by huubs
lefteriskavadas wrote:Hi,

As far as I remember the current Joomla media manager does not provide plugin events for implementing something like this. I think this will be added in Joomla 4.

The only option you have currently is find (or build) an extension to replace the core media manager.

Finally, keep in mind that serving files directly from Amazon S3 is not a good option. You should probably use it with a CDN like Cloudfront.

Regards
Yeah I am planning to use a CDN with it.

Okay, well that's a bummer. I will see if there are plugins available. But I cannot imagine that there isn't another user that has went this way, so I'd love if someone has experience with this kind of setup.