facebook

Simulator can’t find my images : CLOSED

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

    rick.gommers
    Member

    Hi all,

    I have some images in my custom js and in a html widget.

    The images do exist and are placed in the folder /AppName-www/images/

    In my code I link to them like this:

    src=”images/20mm-basic.png”

    The images can’t be found in the simulator (Edit:) and on the device It looks like they do not exist, but they do!

    Are there any tips/tricks or things that I’m forgetting about including images into a project?

    Thx in advance!

    #348537 Reply

    Code_A
    Member

    You will need to add the image files to the additional files section of your project to use them in m1. Select the top node in your project tree and look for the miscellaneous section toward the bottom of the properties window. Give this a try and see if it helps.

    #348539 Reply

    rick.gommers
    Member

    Jup that did the trick. I didn’t realise that you also have to add images this way 🙂

    Thx CodeA!

    #348542 Reply

    paulD
    Member

    Yep Code A is correct any content which you dynamically link to including .mobi files will not get included in the project HTML file unless you add them as additional files.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Simulator can’t find my images : CLOSED

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