Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webview_flutter: loadHtmlString Unable to correctly parse image address #148925

Closed
qiuweilu opened this issue May 23, 2024 · 4 comments
Closed

webview_flutter: loadHtmlString Unable to correctly parse image address #148925

qiuweilu opened this issue May 23, 2024 · 4 comments
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@qiuweilu
Copy link

qiuweilu commented May 23, 2024

Steps to reproduce

loadHtmlString(htmlData, baseUrl: 'http://45.32.88.175:8686');
print(htmlData);

can show image
img src="https://www.mlito.com/wp-content/uploads/2018/03/bf478dbc95-768x1152.jpg" data-mce-src="https://www.mlito.com/wp-content/uploads/2018/03/bf478dbc95-768x1152.jpg"
can't show image
img src="http://45.32.88.175:8686/upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg" data-mce-src="../upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg"

微信图片_20240523111332

Expected results

show correct
img src="http://45.32.88.175:8686/upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg" data-mce-src="../upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg"

Actual results

show error
img src="http://45.32.88.175:8686/upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg" data-mce-src="../upload/202405/23/75FF1B117A2B4887910110F0D2F9F6A1.jpg"

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]
@qiuweilu qiuweilu changed the title loadHtmlString Unable to correctly parse image address webview_flutter: loadHtmlString Unable to correctly parse image address May 23, 2024
@darshankawar darshankawar added the in triage Presently being triaged by the triage team label May 23, 2024
@darshankawar
Copy link
Member

@qiuweilu
Your issue is not clear to me. Please provide clear reproducible code sample along with actual vs expected behavior in properly formatted text so that we can properly address the issue.

@darshankawar darshankawar added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 23, 2024
@qiuweilu
Copy link
Author

@darshankawar Unable to display images through IP call, i set baseUrl

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 23, 2024
@darshankawar
Copy link
Member

@qiuweilu
Please check plugin example and see if using it you still get same behavior or not.

@darshankawar darshankawar added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 24, 2024
Copy link

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now.
If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones.
Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

2 participants