Jump to content

image smoothing


whirlpool6

Recommended Posts

can suggest of other ways of doing this?

 

im having a page which zooms in /out images. this program will be run only in ie so no need to think for other browser support. to zoom images, i only changed the width and height of img object. of course i cant do this in php because we have approximately 300 clients and i cant always fetch a new image when image is zoomed. this will surely slow down the system.

 

hoping for a positive reply.

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/67725-image-smoothing/#findComment-340290
Share on other sites

you should create 2 separateimages.

 

you can do this with php - upload you normal image and php can create a thumbnail of the correct dimensions.  OK its not as good as what photy shop dose but its pretty good - this way you won't distort your image and you won't have to create one on the fly each time...

 

the gd library is your friend here - imagecopyresampled et al will get you throug.

 

i suggest you create a folder called thumb inside the folder where you currently store images and use that for the smaller image you create...

Link to comment
https://forums.phpfreaks.com/topic/67725-image-smoothing/#findComment-340353
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.