You might be able to use a data URL instead of hosting the bytes somewhere - you’ll need to convert your bytes into base64, which is probably best suited to the database, if your RDBMS of choice has a base64 encoding function. In Ignition you’d use a query binding and encode that into your markdown source - although, this is all theoretical, I’m not actually sure whether our Markdown component will parse data URLs.
So all together it would end up looking like:

Which, theoretically, would render on the page; but it’s up to the Markdown processor/renderer. The forum happens to support it: