I don't know php too well, but i believe this should be an easy thing to do
create a module called image parellelzation, or simply add the ability to the image core
next allow the addition of multiple image subdomains, (i believe in the header you can prefetch all the dns for each)
on your server create any number of image1.yourdomain image2.yourdomain etc
on page load, it should automaticly determine the optimal number of hostnames to serve images from, and serve from image1 through image(whatever max number of subdomains were added, or optimal number of hostnames) then devide the images up and serve from that host name
all subdomains would point to the same server space, its simply a way to allow more images to be downloaded in parallel to reduce wait times wich can be 80-95% of entire download time when theres more then a dozen images on a page (like profile pictures)
typically only 2 objects are downloaded at a time from 1 hostname, spreading that workload over multiple hostnames even on the same server means that instead of 2 then wait for 2 more then wait for 2 more etc etc 40 or 50 or more objects can all be downloaded at the same time eliminating much of the wait time and greatly speeding up downloads of the page as a whole
pages with fewer objects and especialy images might not see such an increase
but image heavy sites will load far faster this way.
basicly the php would have to get the total number of images on a page, and assign the url image1.domain to 1st 2 then image2.domain to 2nd 2 etc
i hope this makes sense
this is a good explanation here
http://yuiblog.com/blog/2007/04/11/performance-research-part-4/
--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
updated by @soaringeagle: 07/11/16 05:45:11AM