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

Introduced at c26d2794f01d4fca9c1f0699311323f1c3beebcd
Merge pull request #598 from JulienVdG/master

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