I can't really review this change since I don't have the commit that defines pickThumbnailSize.  

The code seems fine though.

What does it even mean for this pull request to be against another branch in your own repo?  Will that work?  

I think there should still be a review for the resulting PR against master.