Adding images to Textivate from Google Drive

Those familiar with textivate's more advanced features will be aware that you can set up image-based matching activities which match images with text items. They will also be aware that the images have to be hosted elsewhere (i.e. there's no facility to upload them to textivate...)

Until recently, our blog post / user-guide on adding images only listed 2 options for image hosting: IMGUR and DropBox.

Google Drive was never listed as an option because the share link that you typically get for files hosted on Google Drive is a link to a page containing the file rather than to the file itself. But I recently discovered (thanks to Dwight Hensler, of Haven of Peace Academy, Tanzania) that there is a way of getting a direct file link. Here's how...

1. Right-click the image in Google Drive and click on "Get link" (see below)