[solved]How do I display an image getting from HTTP GET

Get help using Construct 2

Post » Fri Apr 18, 2014 5:25 am

nusbaumc wrote:You don't load an image from an Ajax request, you just get the URL. You can use standard URL encoding to pass any parameters you need to to the server.

I doubt your third-party is going to let you run XSS anytime ever so as a workaround you can have them fetch the image from your server via a PHP script that gets it from the other server. It may lag a bit more than usual but it should work.


@nusbaumc, you remind me of fetching it from remote server in the first, and then there is no Cross-Domain problem. Thank you.
B
37
S
4
G
2
Posts: 45
Reputation: 3,997

Post » Thu Oct 02, 2014 9:12 am

@Ashley do you know if Load image from URL work on iOS when you export with Ejecta.?
B
5
Posts: 11
Reputation: 356

Post » Sun Oct 05, 2014 10:39 am

Hi, @KennyOops

Ive got a similar issue, but ive got the HTTP response set to allow CORS.

How did you make the "GET URL" cross domain.?


If someone could help, I'd be very grateful.
B
5
Posts: 11
Reputation: 356

Previous

Return to How do I....?

Who is online

Users browsing this forum: mrkaio, Zav and 3 guests