bugzy Posted July 26, 2012 Share Posted July 26, 2012 Beginner question guys. For displaying image only? like items in e-commerce website? advantages and disadvantages? Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/ Share on other sites More sharing options...
bugzy Posted July 26, 2012 Author Share Posted July 26, 2012 what I mean by php image resize is server side image resizing.. Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/#findComment-1364578 Share on other sites More sharing options...
Davie33 Posted July 26, 2012 Share Posted July 26, 2012 For me i use both resize functions and css with cache clearing so all image stay the size its supposed to. And all depends how well you do the css part too. Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/#findComment-1364580 Share on other sites More sharing options...
Mahngiel Posted July 26, 2012 Share Posted July 26, 2012 It's better to create a thumbnail of your images when you upload them and serve those accordingly. Actions such as onClick or viewing the item page can call the full sized image. Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/#findComment-1364641 Share on other sites More sharing options...
Barand Posted July 26, 2012 Share Posted July 26, 2012 If you are resizing your images clientside you still need to load the full size images, which is going to slow your pages. Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/#findComment-1364717 Share on other sites More sharing options...
bugzy Posted July 26, 2012 Author Share Posted July 26, 2012 Thanks guys for your tips. Now I understand it.. Quote Link to comment https://forums.phpfreaks.com/topic/266284-php-image-resize-functions-or-css-image-resize/#findComment-1364719 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.