hiryu85/upload — comment on commit 887ea56921d0f1b691546edd6b6807143c0b5e22
File: views/helpers/thumbnail.php line 42
By hiryu85:

@josegonzalez the best arrangement of method's arguments is:

1. *$entry, $field, $thumbnailSizeName*
like $this->Thumbnail->url(array('User' => array('id' => 1, 'picture' => 'foo.png', [...]), 'User.picture', 'small')
2. *$field, $thumbnailSizeName, $entry*
like $this->Thumbnail->url('User.picture', 'small', array('User' => array('id' => 1, 'picture' => 'foo.png', [...]))

I like much the second type, what do you think?