Hi all
I'm trying to pass B64 image data to a html for an email, but the variable is getting set with quote marks:
the result is ...
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA
How can i remove those quotes?
You're welcome, glad to help!
I’ve sorted it now - it was a bug in the html code.
Image is far too big but I’ll sort that.
this is basically a bolt on to the shoutout app so the image displays right there in the email body instead of an attachment
thanks for helping!!
I'm glad that works. Strange the HTML doesn't display the image. I assume the image displays OK through the image control?
awesome thanks that worked, was just missing a comma
Set(B64image,
Substitute(JSON(UploadedImage1.Image , IncludeBinaryData),
"""",""
)
)
oddly the html still doesn't display the image though, which is odd!
Hi @P_jones
This should remove the double quotes for you.
Set(B64image,
Substitute(JSON(UploadedImage1.Image , IncludeBinaryData)
"""",""
)
)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.