Image not displayed even after getting URL contents with iOS shortcut

Asked 2 years ago, Updated 2 years ago, 323 views

This time, I am thinking of connecting to the web server that I installed myself through iOS shortcut and sending the file by POST.Before that, I made and tested a very simple HTML, but only images were not displayed.

Safari on iOS displays images properly."It seems that ""get URL contents"" in the shortcut does not work."

test.html
<html>
<body>
<img src="test.jpg">
</body>
</html>

ios safari

2022-11-03 00:00

1 Answers

"If ""Retrieve URL contents"", I think you can only retrieve basic HTML strings."
Even if I get HTML, test.jpg does not exist on the terminal side, so I think I cannot display it.

So if you set test.jpg to <img src="http://localhost//test.jpg">, it might work.


2022-11-03 00:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.