Show mulitple random images in a row or in a column

xinca
xinca's picture

Joined: 2002-09-28
Posts: 86
Posted: Mon, 2008-06-16 04:27

My request involves two issues. Kindly share your knowing even on partly of the issues.

1. How to show multiple images on each block php call.

2. Formate the images in a row or in a column.

I am hosting a business blog on hostgator shared account. Their service is excellent except a limitation to the number of process per account be 25. As I am showing 10 random images (by calling the block php 10 times) in every blog page, my blog visitors get server error on peak hours.

Hostagator gave me this advice:

Quote:
If you are loading 10 php processes per page, with 3 users you hit the process limit. I suggest loading all ten images from a single script.

Anyone has similar experience?

Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ >

 
xinca
xinca's picture

Joined: 2002-09-28
Posts: 86
Posted: Wed, 2008-06-18 05:01

Anybody cares??

Take a look on my client's fashion site, rolling out 11 random images in every single page. It will save the earth (by lowering the server's loading) to have a php script loading mulitple images in one call.

[img]http://img262.imageshack.us/img262/8361/urlhttp3a2f2fjaccofashilm3.jpg[/img]

Sponsor: SyncEXP - Synchronizes data ( files & ODBC records ) between any storage drives < http://syncexp.com/ >