PHP image resizer and thumbnail generator script.