Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I updated Timthumb to ver 2.0 and now the images are being upsized to fit the width of the page. For example, see:

http://timfleming.com/scanner-art/2008-2009/poppies.htm/

Original image is 614 px high. It is being enlarged to fill the width of the page (941 px) and the height is up to 1500 px or so

Using version 2.0, Mac OS 10 .6.8 Google Chrome, Wordpress 3.2.1

I have changed this: define (‘MAX_WIDTH’, 941); // maximum image width define (‘MAX_HEIGHT’, 614); // maximum image height Is there anything else I’m missing?

Thanks! Tim

share|improve this question
1  
TimThumb is a PHP script entirely unaffiliated with WordPress. – Chip Bennett Oct 28 '11 at 19:15

closed as off topic by toscho Jul 13 '12 at 20:06

Questions on WordPress Answers are expected to relate to WordPress within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

Have you tried re-generating the thumbnails?

If you haven't try this plug-in, I've used it and it worked for me. I didn't have the exact problem though (my images were the original size, but not larger), but maybe it will work for you:

http://wordpress.org/extend/plugins/regenerate-thumbnails/

share|improve this answer
Are you making the define (‘MAX_WIDTH’, 941);... change to the timthumb.php file, or in your functions.php file? – Jeremy Jared Aug 28 '11 at 20:33
Thanks Jeremy, I cleared the cache folder (timthumb). That would force new thumbs, right? The width variable was changed in timthumb.php – Tim Fleming Aug 28 '11 at 21:15
Tried thumbnail regenerator...no dice – Tim Fleming Aug 28 '11 at 22:50
Hi Tim, I just wanted to let you know I haven't bailed on you. I have a few themes that I haven't updated TimThumb yet. I'll install one when I get a little spare time to see if I can re-create the issues you're having. I'll let you know if I have any luck. – Jeremy Jared Aug 30 '11 at 0:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.