Add Picture Control
Add Picture Control
Get image on button press and assign to variable 'varFirstImage'
Set(varFirstImage, JSON(<addmedia_control_name>.Image, JSONFormat.IncludeBinaryData)); // get the images binary data and add to a variable
Get image size
Set(imageSize, RoundUp(((Len(varFirstImage) - 814 ) / 1.37) / 1000 ,0)); // get image size in MB
Add image to email body
Office365Outlook.SendEmailV2("email@domain.tld", , "<img src=" & varFirstImage & ">" & "<br>"); // add image variable to an email