switched method on photo resizer