PHP function to create thumbs without bands