Discussion Forums  >  Uncategorized

Replies: 1    Views: 671

Moto4life14
Aspiring developer
Profile
Posts: 11
Reg: Apr 04, 2011
Chicago
110
04/18/11 06:39 PM (14 years ago)

Custom HTML local images, v1.5?

First all, just wanted to say super thanks to everyone who makes buzztouch possible!:D Secondly, in BT v1.5 i have a custom html page, and i would like to pull images that will be static locally instead of off the net, i've played with the routing and can't find anything that works...i know it has to be something simple. Thanks in advance:)
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/18/11 09:23 PM (14 years ago)
This just one method of a few I can think of.... a) Create an HTML page locally, on your machine. Use an editor of choice. Use the sample.html doc in the BT_Docs folder as a template? b) Add this file to your Xcode project by dragging into the BT_Docs folder c) For img tags, use local references, like src='myimage.jpg' or src='myimage.png' d) Be sure to drag these images in your BT_images folder (most folks make a directory of their custom images and drag it in the BT_images folder) e) Create a Custom HTML Doc screen in your control panel... enter the file name of the HTML doc you created. You could also use a Custom HTML screen and copy-paste your HTML into the form on the conrol panel. The idea is that the images are included in your project and refernced locally in the html by using the file name only, no path info.
 

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.