`google-drive` pattern of generated Google Drive folder ID

$   gdrive list  Id                                  Name                                       Type   Size      Created 1tqeNnGiZqy4EMj8p6d_LG7Js0aD9ao37   9b69f5168c0aa4bbe9cd5f1546169cf3           dir              2019-09-16 14:16:18 1ule-XdDb1JrvAEwqwN80JLs7LGuLGUxC   subFile                                    bin    5.0 B     2019-09-16 14:16:25 1ndFenMDcQbJFpQb3ScpaumdlITzf6Tc3   subFile~                                   bin              2019-09-16 14:16:24 1iTo4NUBe01tWODnFwT9SOQuVARd9nV85   example                                    dir              2019-09-16 14:16:23 1FDxjPDWLnP89miUTVjJ_0WMwdDDy_o5_   README.md                                  bin    96.0 B    2019-09-16 14:16:22 146N7bhF2Ev5kvJwprpedSu9EWkYPz1ic   run.sh                                     bin    197.0 B   2019-09-16 14:16:21 

Id of each file is generated as 33 characters and contains non-alphabetic characters.

=> Is it possible to compress it into 32 characters using base decoding.

I realize that all Id of listed each file starts with 1. So could I assume this pattern on the creation of the Id, where all of them starts with 1 and could I discard the 1 at the beginning.

When I use images as a hyperlink on my googledrive they display, but if I use img src from my google drive/desktop the image doesn’t display!

function sendEmails() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var dataSheet = ss.getSheets()[0]; var dataRange = dataSheet.getRange(2, 1, dataSheet.getMaxRows() – 1, 4);

var templateSheet = ss.getSheets()[1]; var emailTemplate = templateSheet.getRange(“A1”).getValue(); //var emailTemplate2 = templateSheet.getRange(“A2”).getValue();

var objects = getRowsData(dataSheet, dataRange);

// For every row object, create a personalized email from a template and send // it to the appropriate person. for (var i = 0; i < objects.length; ++i) { // Get a row object var rowData = objects[i]; var file = DriveApp.getFilesByName(‘2019_MA_BenefitsGuide.pdf’) var file1 = DriveApp.getFilesByName(‘List of Acceptable Documents.pdf’)

var emailText = "hi"; //var emailText2 = HYPERLINK("www.google.com", "Google")';  var emailSubject = 'Mail Merge Test';   var options = {}; options.htmlBody = '<p style="color:red"> ' + "To get to Google, " + '<a href=\"' + 'http://www.google.com' + '">click here</a><br />'+ 

“Hi ” + rowData.firstName +

” +

'<a href="http://www.google.com"><img src="C:\Users\xyz\Desktop\Pics\xyz.JPG" alt="No Image" width="500" height="600"></a>' +   '<a href="https://drive.google.com/open?id=17iHpLW3APTSbnt_8cf18oPMUdsxb0ccA">Link 1</a>' +      '<img src="C:\Users\xyz\Desktop\Pics\xyz.JPG">' +    '<a href="https://drive.google.com/open?id=1e2mfqlybyO-O-x5MoqZayI1kDg4W5voI">Link 2</a>' +   

” +

‘;

MailApp.sendEmail(rowData.emailAddress, emailSubject, ‘ ‘,
options /{attachments: [file.next(), file1.next()]}/ );

} }

When I use images as a hyperlink on my googledrive they display, but if I use img src from my google drive/desktop the image doesn’t display!