debugging image resizer