facebook

image replacement issue

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #319147 Reply

    SonamGyato
    Member

    i’ve got an image

    <img id=”m1-photo-image1″ src=”images/photo.png”/>

    i’m setting the src attribute at runtime to an external http://www&#8230;.
    resource.

    var photoElem = document.getElementById( “m1-photo-image1” );

    photoElem.setAttribute( “src”, url );

    it works in the emulator – but not on the device.

    i’ve confirmed the same url is being used.

    #319186

    SonamGyato
    Member

    solved.

    you need to add the url to the image
    in the NETWORK section of the manifest
    file.

    which brings up a new problem/question
    wayne.

    now everytime the manifest file is created,
    i have to edit it to add the url to the
    NETWORK section.

    anyway to automate that.

    #319198

    support-michael
    Keymaster

    @everest

    Presently this is a known issue. We are introducing project-based development very soon. This will include a Manifest editor and much more automation and control over the resources that are exported.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: image replacement issue

You must be logged in to post in the forum log in