-
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 8 replies
-
I don't know if that is possible, but as a workaround you should be able to embed image data directly into html like this: |
Beta Was this translation helpful? Give feedback.
-
Yes, it's possible and it's a good idea. I will try that. I should work. It will keep you posted. |
Beta Was this translation helpful? Give feedback.
-
Hi smilediver, Thank you for the suggestion, I do appreciate. Stay safe |
Beta Was this translation helpful? Give feedback.
-
@asnagni |
Beta Was this translation helpful? Give feedback.
-
Hi aismann, What you need to do is to perform a base64 encoding of the image that you have. I do that using this function: Step 1: use the function for the base64 encoding
Step 2: get the bytes (the data) from the file (png) and encode it
"strToUseForWebView" is the string that you need to use to embed your local image in the ax::ui::WebView object that you have. I hope that helps. |
Beta Was this translation helpful? Give feedback.
-
This is a bug. It's more than a discussion. Are we going to plan to fix this issue? Thank you |
Beta Was this translation helpful? Give feedback.
-
do you try |
Beta Was this translation helpful? Give feedback.
-
it's security policy, not actually bug of axmol engine itself |
Beta Was this translation helpful? Give feedback.
-
Ok, sure not a problem 👍. It's not a priority. We also found a way to solve the issue 😉 |
Beta Was this translation helpful? Give feedback.
-
Sure I will. I’m a strong advocate of making the platform better. So no worries.
… On Aug 9, 2024, at 1:10 AM, Paulo Coutinho ***@***.***> wrote:
Can you post the solution to help us too :)
—
Reply to this email directly, view it on GitHub <#2080 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI54DTCFMEBN5OGCIMATZRLZQRFMTAVCNFSM6AAAAABMG4W7M6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRYGIZDSNY>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Sorry for the late reply. I’m so sorry but I just cannot find the time right now to get to it. This weekend I will put some time aside and try all of this and share my results/findings.
Sorry about that,
Stay safe
… On Aug 13, 2024, at 10:59 AM, halx99 ***@***.***> wrote:
there a draft branch https://github.com/simdsoft/axmol/tree/webview-file-access-support try to add file access support, I'm not sure does it is ok
—
Reply to this email directly, view it on GitHub <#2080 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI54DTGOGCMDAOYF3EMVGK3ZRINODAVCNFSM6AAAAABMG4W7M6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZSG4YTSMI>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I downloaded the branch you shared, unfortunately it didn’t work. I’m having a blank screen. I tried with the image and also with some text but nothing is showing.
Thank you for trying I do appreciate.
Thank you,
Stay safe
… On Aug 17, 2024, at 11:48 AM, halx99 ***@***.***> wrote:
there a draft branch https://github.com/simdsoft/axmol/tree/webview-file-access-support try to add file access support, I'm not sure does it is ok
@asnagni <https://github.com/asnagni> does it works?
—
Reply to this email directly, view it on GitHub <#2080 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AI54DTC4O7SXQMT6NMTTZXLZR5WEVAVCNFSM6AAAAABMG4W7M6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZWG4ZTGMQ>.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
Hi smilediver,
Embedding the image (base64 encoded) in the Html page worked. I will use this patch for now because it is not possible to use a local link to image.
Thank you for the suggestion, I do appreciate.
Stay safe