Image in Floating Text via html

md_sgf

Well-known member
Is this possible?
I have tried "<img src="/storage/emulated/0/DCIM/ Screenshots/pic.png">. I can see a square where image should be, but not the image.
Does it need to be in a certain format?

If this can't be done, is there a way to add my image via creating custom smilie/gif/.. in keyboard?. I use Samsung Keyboard, but have access to others.
 
Last edited:

AkashiDom

Active member
No, I'd say it isn't possible.
Word on the street says MacroDroid uses TextVisual kind of HTML. I once read a documentation about it and I highly doubt it mentioned of supporting <img> tag.
 

Endercraft

Moderator
It is, but I don't think it's possible to use a local path. I saw someone use it successfully once.
 

AkashiDom

Active member
I saw someone use it successfully once.
Wait, really? Could you share it to us?
I tried with Base64(with DataURI) and PostImage and it's not working.

Image I'm trying to do is this image:
1736406205589.png
macrodroid-icon.png
 

AkashiDom

Active member
If this can't be done, is there a way to add my image via creating custom smilie/gif/.. in keyboard?. I use Samsung Keyboard, but have access to others.
I think you can do that with Animation Overlay. I tried something earlier and the overlay works on PNG images too!
 

Dm114

Well-known member
Is this possible?
I have tried "<img src="/storage/emulated/0/DCIM/ Screenshots/pic.png">. I can see a square where image should be, but not the image.
Does it need to be in a certain format?

If this can't be done, is there a way to add my image via creating custom smilie/gif/.. in keyboard?. I use Samsung Keyboard, but have access to others.
I think you can do that with Animation Overlay. I tried something earlier and the overlay works on PNG images too!
Yes, Animation Overlay works and is the easiest workaround to Floating Text.
 

md_sgf

Well-known member
I think you can do that with Animation Overlay. I tried something earlier and the overlay works on PNG images too!
I am already using that for the background image.

I suppose animation overlay with invisible floating text on top to act as triggers.
Maybe the workaround is this: edit my background image, to include the images I want in some floating texts. And use invisible floating texts for these triggers. I think that will be okay, as currently no floating texts are required to be draggable. But it will require significantly more work whenever I change them (position, text, image, ..)
 
Top