Forum Moderators: coopster

Message Too Old, No Replies

PHP thumbnail creation.

High server load?

         

HughMungus

10:15 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does PHP's thumbnail creation ability cause high server load? I'm only doing about 10 thumbnails per page from images that aren't very large but my host is telling me that something in my PHP scripts is causing excessive server load.

Further to the above question, can a PHP script be written that creates a thumbnail then saves it as a file instead of as a temporary image?

jatar_k

10:37 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



yes it can definitely cause a lot of load, especially if you have traffic.

Why not just create the thumbs and save them permanently?

Timotheos

10:42 pm on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you seen the Bag-o-tricks msg 29 and 30 [webmasterworld.com]?

HughMungus

1:07 am on Aug 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why not just create the thumbs and save them permanently?

That was why I wanted to use it, though -- because I wouldn't have to create thumbnails at all.

Anyway, I'm going too look into a setup that does that creates a thumbnail on the first instance then stores it for future instances.

HughMungus

1:07 am on Aug 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Tim. That might be what I need.