[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.
Posts: 45
Reputation: 4,002

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.?
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.
Posts: 11
Reputation: 356


Return to How do I....?

Who is online

Users browsing this forum: beohs, Elliott and 13 guests