Discussion Forums  >  Uncategorized

Replies: 6    Views: 299

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
06/20/11 06:21 PM (14 years ago)

linking to an image in BT_Images from an html doc in app? (iOS)

is it possible to link to an image that's in the xcode4 BT_Images folder from an html document in my app? I'd rather do that than link to an image on my server if that's possible...? (iOS, buzztouch 1.5)
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
06/20/11 06:30 PM (14 years ago)
Yup, totally possible and very easy. I often put the images in my html folder (or vice versa) so they're in the same spot since its easier for me when editing the html file but that's not necessary. I don't think xcode really cares what folder your files are in as long as they're there somewhere.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/20/11 06:35 PM (14 years ago)
how would I link to it from the html file? is it just a matter of BT_Images/imagename.png in the html code?
 
cteselle
Apple Fan
Profile
Posts: 34
Reg: Jun 13, 2011
California
340
like
06/20/11 09:31 PM (14 years ago)
I've been referencing mine in BT_Docs placing both HTML and images in that directory.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/21/11 03:18 AM (14 years ago)
Ah then how do you link the HTML to buzztouch?
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
06/21/11 03:23 AM (14 years ago)
So when I create my html files I use Kompozer and simply save the image as a local file then put them both in the same folder (for convenience), but as I said I don't think that matters. As for linking the html to buzztouch? You just make a new screen for HTML doc and change the html file name (not url) to the name of your file.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
06/21/11 03:40 AM (14 years ago)
Ahhh. Gotcha. Thanks!
 

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.