whirlpool6 Posted September 3, 2007 Share Posted September 3, 2007 hello guys. is there a way to smoothen images displayed on a page through css? i would like displayed images to be clearer. they are very dirty as of now.. thanks a lot. Quote Link to comment https://forums.phpfreaks.com/topic/67725-image-smoothing/ Share on other sites More sharing options...
AndyB Posted September 3, 2007 Share Posted September 3, 2007 impossible Quote Link to comment https://forums.phpfreaks.com/topic/67725-image-smoothing/#findComment-340250 Share on other sites More sharing options...
whirlpool6 Posted September 3, 2007 Author Share Posted September 3, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/67725-image-smoothing/#findComment-340290 Share on other sites More sharing options...
ToonMariner Posted September 3, 2007 Share Posted September 3, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/67725-image-smoothing/#findComment-340353 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.