TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Programming > PHP
PHP The most widely used server-side programming language for web applications.

Reply
 
Thread Tools Display Modes
Old May 4th, 2010, 07:30 PM   #1 (permalink)
Ben113
Guest
 
Posts: n/a
Default Dynamically generated thumbnails in PHP, How to optomise?

Hi,

I have a project in which I need to dynamically generate thumbnails for web galleries and have created a caching system which works fine. My problem is that it takes a few seconds for each thumbnail to generate so I show the user an 'image loading' picture. This image is outputted from the script and then it starts to generate the icon and saves it to the cache.

However, this can't work properly unless I can get the PHP script to tell the users browser that the page has finished loading, otherwise there is an equally long delay as the script generates the real icon.

I thought about getting the PHP script to create a new http request to its self, but this wont work. Neither do location headers, redirecting where the user looks.
原帖地å€: TechSpott - Computer and technology forums http://www.techspott.com//showthread.php?p=12706

What I'm really looking for is either a way to generate the thumbnails faster, or a way to tell the users browser to stop waiting for more information.

Thanks,
Ben
  Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
dynamically, generated, optomise, php, thumbnails


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what can you do with PHP language? testing123 PHP 0 May 1st, 2010 07:10 AM
How can i make thumbnails with php on upload? Blue PHP 0 April 24th, 2010 10:43 PM
PHP and HTML together ? Pera014 PHP 0 April 18th, 2010 04:42 AM
if your server does not support PHP, you must install PHP? Yang J PHP 0 April 15th, 2010 05:50 AM
How to use the inverse sine function in PHP? petree PHP 0 April 4th, 2010 05:02 AM

 
Forum Stats
Members: 14,366
Threads: 20,373
Posts: 27,838
Total Online: 37

Newest Member: jveffmtcgab

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 05:53 PM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO