Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 67

JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
07/08/13 09:10 AM (12 years ago)

Custom HTML not showing images or links

Hi All: New to buzztouch. I have made several apps bringing in a website using the Custom URL plugin with no problems. However, I want folks to be able to cache the site for offline use, so this time I tried the Custom HTML plugin. My question. How do you get all the links, including images to show when using the Custom HTML plugin. I used dreamweaver for the html and everything points to the website. Images and links are not showing on the compiled project. Thank you
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
07/08/13 09:35 AM (12 years ago)
I believe your issue may be related to how iOS handles files. In the iOS compiling process, all files are taken out of folders and put into one folder. When creating a HTML document in iOS, you should never all an image, file, or link from a folder. Instead call just the file name. Example: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you had the following HTML: <img src="/IMG/Folder/this-is-an-image.jpg"</a> Change it to: <img src="this-is-an-image.jpg"</a> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When editing in Dreamweaver, the images will not show up, and the links will be broken, but it will work on the iOS platform. A workaround for this is to put all your HTML and their supporting files in one folder. Does this help? Jake
 
JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
like
07/08/13 09:49 AM (12 years ago)
Your answer worked perfectly. I could not ask for a quicker or more detailed response. Thank you again.
 

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.