Google Drive image links automatically convert to thumbnail URLs.
PDF links automatically convert to direct download URLs.