Current location: Hot Scripts Forums » Programming Languages » PHP » PHP Downside--Solutions?


PHP Downside--Solutions?

Reply
  #11 (permalink)  
Old 07-15-05, 09:26 AM
sszettella sszettella is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
humet,

Resizing images with GD is a CPU intensive activity. I am not sure if this script is resizing images with each request or not, however, if it is, I can easily see why your host would ban it.

One solution is to resize the images once (probably when they're uploaded to the server), and store those resized images as static files (.gif or .jpg). At that point, it becomes a trivial matter to serve them up to the requestor.

It looks like this script already supports the notion of a manually generated thumbnail. I would investigate this option and pretend that GD is not even installed on your server. This should dramatically decrease your CPU usage.
__________________
Steve Szettella
4word systems
http://www.4wordsystems.com
http://szettella.blogspot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 11:17 AM
Mouseover with Single PHP page rjwebgraphix PHP 7 09-16-04 06:15 PM
HostNetway - Great Solutions that WILL fit everyone's needs, GUARANTEED TheNetway General Advertisements 0 06-11-04 12:55 AM
Triangle Solutions Ltd presents PHP Multiple Newsletters usmwf PHP 0 03-26-04 10:29 AM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 01:31 AM


All times are GMT -5. The time now is 12:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.