Update public.php

added tag to make facebook load a preview picture

Update public.php

add check ifMimeSupported and put the thumbsize in a variable

generate preview for all supported mimes
Merge pull request #10218 from owncloud/pzy-master

Adding link tag to enable facebook timeline previews