|
|
#1 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 867
Rep Power: 23 ![]() |
Hi,
In my new design i have a large header image. On my 1.5mb connection it still only takes 2 or so seconds to entirely load the whole front page. I want it so if the user has a fast internet connection they get a larger high quality header image, but if they are on a low speed connection they get a low quality image. Any ideas? Cheers, Nick
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#2 |
|
Moderator
|
You might be able to set a cookie containing the current time then redirect to another page. Then collect the cookie and see the difference. Then based on how long it took you can get some idea of the connection speed. PHP isn't the ideal tool for that task.
What might be simpler would be to display the reduced quality image, text, or other image and javascript preloading the large one and switch once it is done. Maybe even transition it or have the image switch once the page is loaded. You might be able to increase the speed it is displayed by cutting it up into smaller pieces and just pushing them together in the html.
__________________
John Snyder PHP Developer |
|
|
|
|
|
#3 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 867
Rep Power: 23 ![]() |
Thanks for the reply.
I guess its just not worth it. Do you happen to know of a way to make you internet dial up speed? maybe a "dial up" proxy? I would like to test how fats my site is if you are on dial up.
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
|
|
#4 |
|
Genius At Work
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 867
Rep Power: 23 ![]() |
never mind found this.
Sloppy - the slow proxy for dial-up modem speed simulation (slow down)
__________________
Nick Bowers 68c v4.09 Developer Custom Template |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Users Awaiting Email Confirmation... | crystal | Modules / Plugins / Modifications | 5 | 07-24-2008 01:40 AM |
| listing address different from user's addesss | anna245 | v4 Questions & Support | 1 | 04-18-2008 01:42 PM |
| Determine geographic location | objelland | v3.1 Questions & Support | 3 | 01-26-2008 09:41 AM |
| Expire users after x days of inactivity | pauljr | v3.1 Modules & Modifications | 3 | 01-22-2008 02:21 PM |
| 'Users Awating Email Confirmation� group. | SkGold | v3.1 Suggestions and Feedback | 2 | 07-18-2006 04:30 PM |