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.