Filed Under: PHP

TimThumb Spaces Fix

28 January 2011 No Comment


Share

If you have problems with images created by TimThumb that have spaces in their filenames then here is the fix. WORKS 100%!

Open timthumb.php and go to line 672 and uncomment it like this
//$src = str_replace (‘ ‘, ‘%20′, $src);

Done! Spaces will now work in all pictures. Hell yea!







Like our posts? Then subscribe via Mail:

Email:  

Similar Posts:

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.com.