Currently using Google drive for Purchase Invoice Google Drive attachments. All is well it seems with Drive integration as I can add attachments however the image preview or thumbnail image is broken.
After inspecting the HTML I discovered the img tag src attribute when opened is an html page and should be an actual image. The google drive url ends with/ view?usp=drive_web replacing that with /preview?usp=drive_web and the thumbnail works.