Hello my question is if using a jQuery plugin to scale/resize images on the fly, will be faster than doing it through a PHP function or TimThumb.
This came into my mind because jQuery is a user-side and PHP is server side.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t compare them, both have pros and cons.
I would go for timthumb, since it has some advanced options on cropping + it stores a cached version of the resized image which would save you bandwidth in the future plus speed up your website loading time.
Also think about the small amount of people that have javascript disabled, timthumb will also provide them resized images while a jQuery plugin wouldn’t.
GO for timthumb 😉