Porl123 Posted May 15, 2009 Share Posted May 15, 2009 i've got a forum where the user sets their little 80x80 avatar image, which is tagged at the side of every post from them. but i've got this problem with lag though. it just seems to take a while when someone has a picture that's over 100-200 pixels w/h so I was wondering if there are any techniques that I could use to make it so the page doesn't lag so much i don't really want to restrict the user from posting an image that's over 80x80 pixels as it just adds work for them, so if you know of any methods i'd really appreciate the help. thanks ! Quote Link to comment https://forums.phpfreaks.com/topic/158315-images-lagging-my-page/ Share on other sites More sharing options...
timt Posted May 15, 2009 Share Posted May 15, 2009 The lag is probably due to the scaling time. I recommend you scale the image to the viewing size (80x80) and store it at that size. Quote Link to comment https://forums.phpfreaks.com/topic/158315-images-lagging-my-page/#findComment-835046 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.