Discussion Forums  >  Self Hosted Control Panels

Replies: 2    Views: 80

Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
11/24/12 04:14 PM (13 years ago)

Image in html not showing up

when i load the html doc onto my browser it loads the images, but when i load it onto the device it wont load it. It cant find it? it is pointing directly to it!
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
11/24/12 04:32 PM (13 years ago)
What path are you using in the HTML to reference the image? Have you dragged the image into xcode project? If so have you done a clean and build?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/24/12 10:40 PM (13 years ago)
As Keith points out, both the HTML doc and the image need to be part of the Xcode project. Images can be referenced without a path...such as: <img src="image.jpg"> Images can be placed in the BT_Images folder, with HTML docs in the BT_Docs folder. If you plan on using the same control panel project for Android, make sure you follow the a-z0-9 naming convention (no spaces, special characters). Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.