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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.