Home/ Journal Bens Projects Binary Moon Archives About Ben Gillbanks Subscribe to Binary Moon Updates

Subscribe to Binary Moon Website Updates, it's Free and Easy to Stay in Touch

Search Binary Moon

Search Binary Moon

Archive for the ‘TimThumb’ Category

TimThumb is a free image cropping and resizing script, design with simplicity and ease of use in mind. You can read more about TimThumb.

TimThumb 2.0

Ok - so - TimThumb. I am sure many people have seen this already but some code exploits were recently discovered in TimThumb. Now that everything is under control once more I thought I would explain what happened and what is going to happen in the future.

The exploit that was found was a bug with the external image resize functionality and the fact it could be used to download and execute files. There was code in place that restricted ...

TimThumb Quality Settings

Thumbnail : TimThumb Quality Settings

Recently I have had a couple of emails about changing the amount of compression on TimThumb cropped images. The change itself is really easy, however I thought I would write it up as a reference for those who aren't aware of it's existence.

To change the level of compression all you have to do is edit the 'q' (which stands for quality) parameter in the query string.

If you don't set the value then ...

Simple WordPress Post Thumbnails with Regular Expressions

Thumbnail : Simple WordPress Post Thumbnails with Regular Expressions

These days everyone with a blog understands the importance of thumbnail images. Three years ago it was common place to have exclusively text, but now a nice image is a requirement. As such the process of implementing the image needs to be made easier.

With my WordPress themes, Elemental in particular, I have simplified things as much as possible. You can set your own thumbnail using the WordPress featured image functionality, or you can use custom fields (which is generally ...

TimThumb Proportional Scaling

Thumbnail : TimThumb Proportional Scaling

Moving the crop position used to be the most requested TimThumb feature - but then I added it, and so something else had to step up and replace it.

The next most requested feature is proportional image scaling. To be honest, this feature request had me confused for a while, I just couldn't understand what people were asking for. TimThumb already had the ability to scale images proportionally, simply by supplying a single size parameter. However what, it turns out, ...

How to Contribute to TimThumb

Thumbnail :

The Google Code blog has recently announced a new method for modifying code committed to the site. They have created an online code editor that can be used by anyone.

This is fantastic for people who want to contribute to any of the hundreds of open source projects that are online. What this means is that people who have commit privileges can edit and update code online. People who don't ...

TimThumb: Improved Speed and Other Changes

Thumbnail : TimThumb: Improved Speed and Other Changes

Recently, when I haven't been working on WPAdvent, I have been tweaking and improving TimThumb. In fact there's been a couple of cool new features added that make it a much more useful peice of kit.

The big changes boil down to speed, simplicity, and Youtube!

Speed

I've always been very conscious of the speed of TimThumb. I know that resizing images is slow and uses a lot of memory, so caching has been in there from the start. However I ...

The best way to use TimThumb with a CDN (and why Amazon S3 is not so good)

Thumbnail : The best way to use TimThumb with a CDN (and why Amazon S3 is not so good)

Speeding up a websites loading time is so good for so many reasons, so it's understandable that people want to use a CDN (Content Delivery Network) to serve their images, however in the case of TimThumb there's a right way and a wrong way. Below I am going to explain how I use a CDN to speed up TimThumb on Binary Moon.

Content Delivery Network?

A CDN or Content Delivery Network, is a method ...

TimThumb Troubleshooting Secrets

Thumbnail : TimThumb Troubleshooting Secrets

I often get asked questions about TimThumb and why it doesn't work in certain situations. I can generally tell what is wrong with the script within about 60 seconds of being sent a demo url. Below are my top tips for debugging TimThumb issues.

Keep TimThumb up to Date

This is super important. TimThumb should always be kept up to date. I regularly publish bug fixes and improvements and often the problems ...

Page : 1 / 2 1 2 Last ›

About me

About BenMy name is Ben Gillbanks. I'm a lover of Video Games, WordPress, Web Development and everything in between.

I have been working on the internet since 1998, and working with computers even longer. I am a hardcore Nintendo fanboy and have owned most of their consoles at one stage or another.

Read more about me on my about page.


Follow Me


Random Link-outs

  • Totebo Flash games with monkeys
  • Veggie Advisor Vegetarian news, reviews and recipes
  • Miniclip Where I work by day
  • WPVote WordPress voting and article submission community website
The Binary Network links to all my websites
bengillbanks.co.uk - Ben Gillbanks

Ben Gillbanks

All my websites under 1 roof, the easiest way to find out what I do

Pro Theme Design - premium WordPress themes

Pro Theme Design

Premium WordPress themes by web design pros (erm... that includes me)

Binary Joy - gaming news and reviews

Binary Joy

Gaming news and reviews

Binary Sun - play free online games

Binary Sun

Play and download free and paid games (many made by me)

Gaming Angel - download and play games online

Gaming Angel

Stacks of shareware games, free to try and cheap to buy