Author Topic: Serving Images from Another Server  (Read 5116 times)

0 Members and 1 Guest are viewing this topic.

Offline n32

  • Newbie
  • *
  • Posts: 10
    • View Profile
Serving Images from Another Server
« on: August 13, 2005, 04:21:27 AM »
I'm hosting three very high traffic image galleries. I've determined that it would be a lot faster for me to serve them from another imageserver webserver : like BOA or thttpd. But the problem is the PHP overheads in doing such a system with CGI-PHP. I've tried fastCGI / lighthttpd. However, serving from low memory intensive imageservers would help bring down the load, and move some of the overheads from Apache in serving the images.

The part I would like some help with is changing the IMAGE url output. They are already established galleires. So I would need a query to probably update where the image is going to be found ( if it's hard coded ), if not, then I would need to know where to tack on a subdomain prefix OR more preferably a port number of the new galleries images.

Thanks in advance to anyone who can tell me anything about this problem..


Specifically : Details page is where I would like to change it.

Offline n32

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Serving Images from Another Server
« Reply #1 on: August 15, 2005, 12:38:37 PM »
I ended up using apache core's Alias module to redirect to the new address. It works alright. There is reduction in server load already, though this is not the solution I wanted to use.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Serving Images from Another Server
« Reply #2 on: August 15, 2005, 01:10:21 PM »
@N32
could you give us your URL - allways interesting to see other homepages!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Serving Images from Another Server
« Reply #3 on: December 01, 2006, 12:06:08 PM »
Does anyone figure out how to save images on another subdomain?

4images gallery is using www.domain.com and images are hosted on images.domain.com.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: Serving Images from Another Server
« Reply #4 on: February 23, 2007, 12:40:04 PM »
No one?  :?