PHP function to create thumbs with bands