Results 1 to 3 of 3

Thread: Image doesn't display on real device

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    79
    Answers
    6

    Default Image doesn't display on real device

    I have some problems. I want to display an link image on toolbar. This is my code:
    Code:
    xtype : 'toolbar',              
                           items : [{
                            xtype : 'panel',
                            html : '<a href="http://localhost/SCOS/sencha"><img       src="http://localhost/SCOS/sencha/images/myimage.png "/></a>'
                            
                        }], {
    When i test on emulator device, the image was displayed, but on real device, it doesn't . Can you help me?

  2. #2
    Sencha Premium User mrsunshine's Avatar
    Join Date
    Sep 2008
    Location
    Germany - Darmstadt
    Posts
    693
    Answers
    21

    Default

    from your mobile device you most likely can not access the http://localhost of your desktop development machine

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    79
    Answers
    6

    Default fixed

    Ok. thank you so much. I will upload images into a website and get link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •