zenphoto/zenphoto — pull request #598 by JulienVdG (2013-12-09 20:48:44+00:00)
Title: 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...