Discussion Forums  >  Images, Documents, File Locations

Replies: 4    Views: 115

SrikarSree
Aspiring developer
Profile
Posts: 79
Reg: Jul 22, 2012
Bangalore
7,090
02/07/13 03:32 AM (12 years ago)

Insert an Image into HTML/Text plugin Locally

Hi I need to insert images into "custom html/text plugin". The way i am doing is by using image hosting sites and then embedding the link into the plugin editor. This works, but the user device as to be online for the images to display. so is there anyway to insert images into the editor so that the image are within the app source code.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/07/13 03:57 AM (12 years ago)
Yes, but you do it a different way. Instead of using "custom html/text plugin", try the following :- 1) create the same content as an html file, created locally on your PC, with the images local to the html file. 2) Put the html file and the images into the bt_docs file (in xcocde or eclipse depending on android/ios project). 3) In your control panel, reference that html file using the "html doc" plugin. 4) Re-install the app to your device. Job done!
 
SrikarSree
Aspiring developer
Profile
Posts: 79
Reg: Jul 22, 2012
Bangalore
7,090
like
02/07/13 04:15 AM (12 years ago)
Thank You @AlanMac. I will try this now :-)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/07/13 04:40 AM (12 years ago)
You 'can' use the Custom HTML plugin in the same manner as @AlanMac describes the 'htmldoc' plugin... However, I side with him on HTML Doc plugin over Custom HTML plugin. Same results, less fuss. Cheers! -- Smug
 
SrikarSree
Aspiring developer
Profile
Posts: 79
Reg: Jul 22, 2012
Bangalore
7,090
like
02/07/13 04:41 AM (12 years ago)
Thank You @SmugWimp for the more information The support here is quick
 

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.