Graphic in Email Logo - VisualCron - Forum

Community forum

David Edelman
2020-07-22T04:05:07Z
Hi. I have a picture file on the lserver on which VC resides.
If I embed the following in the HTML code

<img src="\\PROD-BREFNI-APP\brefni$\Futuro\Logo\CCM.png" alt="satoriccmlogo" width="300" height="60" />
<h2><strong>Sator....

I can see the graphic on the IEPreview. However when it is email externally , the logo does not display.
How do I imbed a graphic in the email's HTML ?

Thanks
Joey S
2020-07-28T23:38:43Z
I really do not think you will get this to work successfully every time or even most times but here is an answer.

Your current method is only emailing HTML code to the recipient while your picture file sits on your computer. You could send the picture file as an attachment and ask the recipient to download the file to their pc into a directory that matches your image source but that, is obviously a ridiculous idea.

To continue on with what I think you want, you have to first change your picture into text.

Open a command prompt and navigate to your picture directory (\Futuro\Logo\)

type in
certutil -encode CCM.png CCM.txt
Hit Enter. This will copy your PNG into a txt file in that same directory
Open the txt file and remove the top and bottom rows that say "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----"
Then remove all carriage returns/line breaks

You will end up with something that looks like this (yes it is very long):
R0lGODlhkAFGAPfUAAUAHgYAIQkCJQ0GKw8JLhAJLxANMQ8UNg8XOA4bOhASNBkdPAwhPxkhPwokQQYpRggoRQUrSAssSRMlQhglQhQpRhsqRhIuSh0tSg4xTRQyThsyTg8/WhU1UR02UR05VC0nQyEvSiMyTSgzTjg3TyE2USo2USM7VSs7VSU+WCw+WDM9VjQ/WDg/WCxCXDRDXTpDXCNGYDVGYTZIYjtKZD9PaD5QaidYcztZc0BCWkFNZktOZkNPaERSa0tVbVZRZ1JWbVdYbkpXcE1ZcVRcdFlddFthd1ZheFxke19of2FhdmxjdmFle2tkeGRpf2xpfhtnhDBngi5xjV9pgGZsgmtug3NvhG1xhm10inBxhXB2int1iHR5jnl7jnZ9kXp9kQCStwCVuQCbvTmMqXyBlH+FmXigtwGfwAChwgCoyRKgwRuhwSGiwiujwy2qyjOkxDumxT6xzz+42ESnxkaoxkmpx0asykyty1OryVyuykWwz0mwzky41ku/3mCv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RC0BQAzSAAqILnisIASogIUVQBEHQm5HwA0dgBEaAOy6wAZwTLoZyAjTAAz+wkBWRCTBAfzJg1zb9R4iS2SoNlJ1jAKK8EUcAAzpAAy+AAg/gPNTiEBuy2qytIYpCiqibEcHAAzlAAyqQAYltFwxwABKw1zqQA/lbETpAAOASLS0AwxPBCzvAL7s5kCk9MEGSe7v+AgOaKxL3hHqVkwAw0AWjgGPU0AuP4AMXYNA+YQA6sMMD4QgCQABAIiQ92doO1CMGgCYC4AgYUQQAgCZpAiSSsiE/2do+KSoGAABYG6gCgCYGYCj+vdrnwZMOziE+6ZMO/uAOLiRBTREQcOBAos8AriH/Dd8e7t8P7uE9WQBUnBG4ICgGUCaT0pM/2eIb0jCjgsQbYSzYlk0MgAUlQQnV/C0fZ4bsEi8MECQrEMYloQEKLjxBwiFW5wEq8AIvoAISUCh+NOQTsMIDkQkUAJBc3uVcXgEUgMv7uQBeXuZmrgELAK8Y4QgNcOZu/ub/uAA6uxEvsOVwfud3vgDgexH+u6ABFYDnXb4AE+p5sQw3B2ACkM29WWACSxndrs3SHt4w+iwCRlAJM0EDC4ACm7ALlEAFKyC6kWIoHdKTEYMBTwDQEiENyACLrN7qrg6LyEDSCMEMq64MyvDquP7qyCC7qb7quf7rwN7q5asRyxDsxn7srR6FGSENtn7ryN7qvG4Ro6CSLlcoJlAFpZA2yKAE9t0RtbAIhlMCp8chW3MoSbgBL1AEhhAKJwsTyzAMBmELjMAEL3ABPvkhErACSAAJ0X4d/m4Z02COBxBc1eIAjD3aFRAAFMsRzMALtRAKmXAJEn8JoUAKu6AMViEMt6AJObMJpaDU/x7ytMEJnfUzneMS3zBVBbIu8izf8rRxCdVcJh3lTTtiAoHs8jif86JhC4XAAyfA0xdgAkWQVzqPEQEBADs=

Take that single row of text and put it after the comma below and close off with a quote and >
<img src="data:image/png;base64,RIGHT HERE">

I will replace that giant block of text I show above with the word [BLOCK] to illustrate
<img src="data:image/png;base64,[BLOCK]">

That line above ^^^ with the huge row of text, is your picture in HTML

Add that line to any email you are trying to send and preview, you should see the pic.
Use image.gif or image/jpg for different formats
Example:
<img src="data:image/jpg;base64,[BLOCK]">
<img src="data:image/gif;base64,[BLOCK]">

BUT, most email applications are not gonna allow this anyway so testing is needed and maybe someone to show you how to send it in MIME formatting which might increase your success rate
David Edelman
2020-07-29T01:43:13Z
Hi Joey,
Thanks for the reply , pretty detailed so appreciate the effort. I will give this a go and research the other suggestion in the coming days.
Cheers 👍
Support
2020-08-04T15:39:44Z
Thanks a lot for your input/help Joey.
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Users browsing this topic
Scroll to Top