Use thumbnail cache instead of refreshing every time
Fix wrong parameter order
Merge pull request #751 from owncloud/fix_741

Use thumbnail cache instead of refreshing every time