Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › gameNetwork.uploadImage() invalid Url

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13878

    Phil

    After I successfully uploaded an image with gameNetwork.uploadImage(), the returned Url is invalid.  For example:

    gameNetwork.uploadImage

                        (
                            path,
                            function(success, url)
                            {
                                console.log("upload: " + success + ", " + url)
                                if (success)
                                    profileList.model.append({"image_url": url});
                            }
                        )
    
    

     

    Will print on the console something like:

    qml: upload: true, /pictures/8728345e056a5c56e7438

     

    But this is not a public Url.

    #13891

    Alex
    Felgo Team

    Hello Phil,

    There seems to be a bug in the callback function call, which strips the base url of the returned url parameter. This will be fixed with the next update. For now you can prefix the returned url with “http://gamenetwork.felgo.com” in order to open the uploaded image.

    Thanks,

    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded