Fix a bug with i.php no longer handling thumb size

I think is was introduced at c26d2794f01d4fca9c1f0699311323f1c3beebcd.

Anyway, the default case should be last, also the 0 case seams to match a string in php...