1 Reply Latest reply on Jul 20, 2012 10:05 AM by Val Palhories

    Button images showing in RhoSimulator but not on device

    Val Palhories

      Hello,

       

      I'm in the process of getting my feet wet with Rho. When I run my application using the RhoSimulator I get my images just fine. When I run the same program on my device, I'm getting a question mark instead of images as though the images weren't found. My code to load an image is as follows:

       

      <div>

          <a href='<%= url_for :controller => :Inventory, :action => :index%>'><img src='../public/images/scout/icon_box.png' alt='icon_box'  />Inventory</a>

      </div>

       

      Am I doing this wrong? I've tried /public/images instead of ../public/images and get the same results.

       

      Thanks a million.

       

      --- Val