Discussion Forums  >  Uncategorized

Replies: 15    Views: 217

stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
01/08/12 04:24 PM (14 years ago)

how to show pictures in html

I've converted a docx file to htm via word and then am using it in my project. The problem is that in the simulator, the document opens but the pictures (jpgs) are not shown. Just placeholders. I've also dragged the files created by word along with the htm file that include the pictures into xcode but still just placeholders, no pictures. Any ideas. thanks.
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
01/08/12 04:29 PM (14 years ago)
Hi stevek , If the image you are referencing in your anchor tag exists in the app project itself, you can just reference the image like: Image.png, as opposed to giving the full directory to the image like: ../images/image.png You don't need to include the full file path when referencing images like this, just the image name. If the image is not in your project just reference it using a URL like you normally would in any HTML document.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/08/12 04:37 PM (14 years ago)
Not sure I understand. Word created a htm file and a folder from my docx file. The folder contains two jpg and two png files plus filelist.xml and themedata.xml I have put all these files in the BR images and Bt docs files in xcode just for good measure. Still no images in the simulator. Did I put these files in the right place?
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/08/12 04:52 PM (14 years ago)
Do I have to reload the source code after including an html reference or is that taken care of when reloading in the app?
 
ichigo
I hate code!
Profile
Posts: 74
Reg: Jul 27, 2011
London
740
like
01/08/12 05:46 PM (14 years ago)
Ive never tried using word for this... I usually use the <img> html tag... and put my images it BT_images folder in xcode... eg: <img src=a01.jpg width=320px /> http://www.w3schools.com/html5/tag_img.asp
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/08/12 05:55 PM (14 years ago)
And don't forget, no spaces or special characters in file names, and they should all go into BT_Images for iOS and res/drawable for Android. Then make sure you add them to your project! Mark
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/08/12 05:57 PM (14 years ago)
Using buzztouch since I don't know much coding so I've used Word to create a screen and then save as a htm file. It includes the files mentioned in my post above but no matter where I put them in xcode the pictures don't show up in the simulator.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/08/12 05:59 PM (14 years ago)
 
ichigo
I hate code!
Profile
Posts: 74
Reg: Jul 27, 2011
London
740
like
01/08/12 06:00 PM (14 years ago)
its probably the link in the html file... can you paste the code here?
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/08/12 06:26 PM (14 years ago)
Here it is, thanks: <html xmlns:v=urn:schemas-microsoft-com:vml xmlns:o=urn:schemas-microsoft-com:office:office xmlns:w=urn:schemas-microsoft-com:office:word xmlns:m=http://schemas.microsoft.com/office/2004/12/omml xmlns:mv=http://macVmlSchemaUri xmlns=http://www.w3.org/TR/REC-html40> <head> <meta name=Title content=> <meta name=Keywords content=> <meta http-equiv=Content-Type content=text/html; charset=macintosh> <meta name=ProgId content=Word.Document> <meta name=Generator content=Microsoft Word 14> <meta name=Originator content=Microsoft Word 14> <link rel=File-List href=FEBRUARY2012_files/filelist.xml> <link rel=Edit-Time-Data href=FEBRUARY2012_files/editdata.mso> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><!--[if gte mso 9]><xml> <o:DocumentProperties> <o:Author>stephen kronwith</o:Author> <o:LastAuthor>stephen kronwith</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>5</o:TotalTime> <o:LastPrinted>2012-01-06T02:54:00Z</o:LastPrinted> <o:Created>2012-01-09T01:14:00Z</o:Created> <o:LastSaved>2012-01-09T01:14:00Z</o:LastSaved> <o:Pages>1</o:Pages> <o:Words>8</o:Words> <o:Characters>47</o:Characters> <o:Lines>1</o:Lines> <o:Paragraphs>1</o:Paragraphs> <o:CharactersWithSpaces>54</o:CharactersWithSpaces> <o:Version>14.0</o:Version> </o:DocumentProperties> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--> <link rel=themeData href=FEBRUARY2012_files/themedata.xml> <!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:TrackMoves>false</w:TrackMoves> <w:TrackFormatting/> <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery> <w:DisplayVerticalDrawingGridEvery>0</w:DisplayVerticalDrawingGridEvery> <w:UseMarginsForDrawingGridOrigin/> <w:ValidateAgainstSchemas>false</w:ValidateAgainstSchemas> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotUnderlineInvalidXML/> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>JA</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:EnableOpenTypeKerning/> <w:DontFlipMirrorIndents/> <w:OverrideTableStyleHps/> <w:UseFELayout/> </w:Compatibility> <m:mathPr> <m:mathFont m:val=Cambria Math/> <m:brkBin m:val=before/> <m:brkBinSub m:val=--/> <m:smallFrac/> <m:dispDef/> <m:lMargin m:val=0/> <m:rMargin m:val=0/> <m:defJc m:val=centerGroup/> <m:wrapRight/> <m:intLim m:val=subSup/> <m:naryLim m:val=subSup/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState=false DefUnhideWhenUsed=true DefSemiHidden=true DefQFormat=false DefPriority=99 LatentStyleCount=276> <w:LsdException Locked=false Priority=0 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Normal/> <w:LsdException Locked=false Priority=9 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=heading 1/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 2/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 3/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 4/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 5/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 6/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 7/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 8/> <w:LsdException Locked=false Priority=9 QFormat=true Name=heading 9/> <w:LsdException Locked=false Priority=39 Name=toc 1/> <w:LsdException Locked=false Priority=39 Name=toc 2/> <w:LsdException Locked=false Priority=39 Name=toc 3/> <w:LsdException Locked=false Priority=39 Name=toc 4/> <w:LsdException Locked=false Priority=39 Name=toc 5/> <w:LsdException Locked=false Priority=39 Name=toc 6/> <w:LsdException Locked=false Priority=39 Name=toc 7/> <w:LsdException Locked=false Priority=39 Name=toc 8/> <w:LsdException Locked=false Priority=39 Name=toc 9/> <w:LsdException Locked=false Priority=35 QFormat=true Name=caption/> <w:LsdException Locked=false Priority=10 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Title/> <w:LsdException Locked=false Priority=1 Name=Default Paragraph Font/> <w:LsdException Locked=false Priority=11 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Subtitle/> <w:LsdException Locked=false Priority=22 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Strong/> <w:LsdException Locked=false Priority=20 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Emphasis/> <w:LsdException Locked=false Priority=59 SemiHidden=false UnhideWhenUsed=false Name=Table Grid/> <w:LsdException Locked=false UnhideWhenUsed=false Name=Placeholder Text/> <w:LsdException Locked=false Priority=1 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=No Spacing/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 1/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 1/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 1/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 1/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 1/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 1/> <w:LsdException Locked=false UnhideWhenUsed=false Name=Revision/> <w:LsdException Locked=false Priority=34 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=List Paragraph/> <w:LsdException Locked=false Priority=29 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Quote/> <w:LsdException Locked=false Priority=30 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Intense Quote/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 1/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 1/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 1/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 1/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 1/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 1/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 1/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 1/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 2/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 2/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 2/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 2/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 2/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 2/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 2/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 2/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 2/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 2/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 2/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 2/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 2/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 2/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 3/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 3/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 3/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 3/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 3/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 3/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 3/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 3/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 3/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 3/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 3/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 3/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 3/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 3/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 4/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 4/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 4/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 4/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 4/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 4/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 4/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 4/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 4/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 4/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 4/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 4/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 4/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 4/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 5/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 5/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 5/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 5/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 5/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 5/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 5/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 5/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 5/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 5/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 5/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 5/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 5/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 5/> <w:LsdException Locked=false Priority=60 SemiHidden=false UnhideWhenUsed=false Name=Light Shading Accent 6/> <w:LsdException Locked=false Priority=61 SemiHidden=false UnhideWhenUsed=false Name=Light List Accent 6/> <w:LsdException Locked=false Priority=62 SemiHidden=false UnhideWhenUsed=false Name=Light Grid Accent 6/> <w:LsdException Locked=false Priority=63 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 1 Accent 6/> <w:LsdException Locked=false Priority=64 SemiHidden=false UnhideWhenUsed=false Name=Medium Shading 2 Accent 6/> <w:LsdException Locked=false Priority=65 SemiHidden=false UnhideWhenUsed=false Name=Medium List 1 Accent 6/> <w:LsdException Locked=false Priority=66 SemiHidden=false UnhideWhenUsed=false Name=Medium List 2 Accent 6/> <w:LsdException Locked=false Priority=67 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 1 Accent 6/> <w:LsdException Locked=false Priority=68 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 2 Accent 6/> <w:LsdException Locked=false Priority=69 SemiHidden=false UnhideWhenUsed=false Name=Medium Grid 3 Accent 6/> <w:LsdException Locked=false Priority=70 SemiHidden=false UnhideWhenUsed=false Name=Dark List Accent 6/> <w:LsdException Locked=false Priority=71 SemiHidden=false UnhideWhenUsed=false Name=Colorful Shading Accent 6/> <w:LsdException Locked=false Priority=72 SemiHidden=false UnhideWhenUsed=false Name=Colorful List Accent 6/> <w:LsdException Locked=false Priority=73 SemiHidden=false UnhideWhenUsed=false Name=Colorful Grid Accent 6/> <w:LsdException Locked=false Priority=19 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Subtle Emphasis/> <w:LsdException Locked=false Priority=21 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Intense Emphasis/> <w:LsdException Locked=false Priority=31 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Subtle Reference/> <w:LsdException Locked=false Priority=32 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Intense Reference/> <w:LsdException Locked=false Priority=33 SemiHidden=false UnhideWhenUsed=false QFormat=true Name=Book Title/> <w:LsdException Locked=false Priority=37 Name=Bibliography/> <w:LsdException Locked=false Priority=39 QFormat=true Name=TOC Heading/> </w:LatentStyles> </xml><![endif]--> <style> <!-- Font Definitions */ @font-face {font-family:Arial; panose-1:2 11 6 4 2 2 2 2 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-536859905 -1073711037 9 0 511 0;} @font-face {font-family:\FF2D\FF33 \660E\671D; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:1 134676480 16 0 131072 0;} @font-face {font-family:\FF2D\FF33 \660E\671D; mso-font-charset:78; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:1 134676480 16 0 131072 0;} @font-face {font-family:Lucida Grande; panose-1:2 11 6 0 4 5 2 2 2 4; mso-font-charset:0; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:-520090897 1342218751 0 0 447 0;} Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:\FF2D\FF33 \660E\671D; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Times New Roman; mso-bidi-theme-font:minor-bidi; mso-fareast-language:JA;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-noshow:yes; mso-style-priority:99; mso-style-link:Balloon Text Char; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:9.0pt; font-family:Lucida Grande; mso-fareast-font-family:\FF2D\FF33 \660E\671D; mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:Times New Roman; mso-bidi-theme-font:minor-bidi; mso-fareast-language:JA;} p.mystyle, li.mystyle, div.mystyle {mso-style-name:my style; mso-style-unhide:no; mso-style-qformat:yes; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:.25in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Times New Roman; mso-fareast-font-family:\FF2D\FF33 \660E\671D; mso-fareast-theme-font:minor-fareast; mso-bidi-font-family:Times New Roman; mso-bidi-theme-font:minor-bidi; mso-fareast-language:JA;} span.BalloonTextChar {mso-style-name:Balloon Text Char; mso-style-noshow:yes; mso-style-priority:99; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:Balloon Text; mso-ansi-font-size:9.0pt; mso-bidi-font-size:9.0pt; font-family:Lucida Grande; mso-ascii-font-family:Lucida Grande; mso-hansi-font-family:Lucida Grande;} span.GramE {mso-style-name:; mso-gram-e:yes;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:\FF2D\FF33 \660E\671D; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Times New Roman; mso-bidi-theme-font:minor-bidi; mso-fareast-language:JA;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:.5in .8in .5in .8in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 10]> <style> Style Definitions */ table.MsoNormalTable {mso-style-name:Table Normal; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; mso-pagination:widow-orphan; font-size:10.0pt; font-family:Cambria; mso-ascii-font-family:Cambria; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Cambria; mso-hansi-theme-font:minor-latin; mso-fareast-language:JA;} </style> <![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=edit spidmax=1026/> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=edit> <o:idmap v:ext=edit data=1/> </o:shapelayout></xml><![endif]--> </head> <body lang=EN-US style='tab-interval:.5in'> <div class=WordSection1> <p class=MsoNormal><b style='mso-bidi-font-weight:normal'><u><span style='font-size:36.0pt;font-family:Arial'>FEBRUARY 20 – MARCH 12<o:p></o:p></span></u></b></p> <p class=MsoNormal><span style='font-size:36.0pt;font-family:Arial'><o:p> </o:p></span></p> <p class=MsoNormal><span style='font-size:36.0pt;font-family:Arial'>.<span style=mso-spacerun:yes>  </span><span class=GramE>Best viewing on March 5.</span><o:p></o:p></span></p> <p class=MsoNormal><span style='font-size:36.0pt;font-family:Arial'><o:p> </o:p></span></p> <p class=MsoNormal><span style='font-size:36.0pt;font-family:Arial;mso-fareast-language: EN-US;mso-no-proof:yes'><!--[if gte vml 1]><v:shapetype id=_x0000_t75 coordsize=21600,21600 o:spt=75 o:preferrelative=t path=m@4@5l@4@11@9@11@9@5xe filled=f stroked=f> <v:stroke joinstyle=miter/> <v:formulas> <v:f eqn=if lineDrawn pixelLineWidth 0/> <v:f eqn=sum @0 1 0/> <v:f eqn=sum 0 0 @1/> <v:f eqn=prod @2 1 2/> <v:f eqn=prod @3 21600 pixelWidth/> <v:f eqn=prod @3 21600 pixelHeight/> <v:f eqn=sum @0 0 1/> <v:f eqn=prod @6 1 2/> <v:f eqn=prod @7 21600 pixelWidth/> <v:f eqn=sum @8 21600 0/> <v:f eqn=prod @7 21600 pixelHeight/> <v:f eqn=sum @10 21600 0/> </v:formulas> <v:path o:extrusionok=f gradientshapeok=t o:connecttype=rect/> <o:lock v:ext=edit aspectratio=t/> </v:shapetype><v:shape id=Picture_x0020_2 o:spid=_x0000_i1025 type=#_x0000_t75 style='width:366pt;height:342pt;visibility:visible;mso-wrap-style:square'> <v:imagedata src=FEBRUARY2012_files/image001.jpg o:title=/> </v:shape><![endif]--><![if !vml]><img width=368 height=344 src=FEBRUARY2012_files/image002.png v:shapes=Picture_x0020_2><![endif]></span><span style='font-size:36.0pt;font-family:Arial'><o:p></o:p></span></p> </div> </body> </html>
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/08/12 06:41 PM (14 years ago)
Here's what I would do: * Strip out all the references to FEBRUARY2012_files in your code. That should just leave a reference to the file (.jpg, .xml or .mso). * Put all image files in BT_Images, and all .xml and .mso files in BT_Docs. * Make sure the corresponding files are in your Xcode project. * Do a Clean on your project. * Build your project, and see what happens! Mark
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/08/12 07:41 PM (14 years ago)
Do you mean to delete all lines that have february2012 files in the htm file or elsewhere too?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/08/12 11:56 PM (14 years ago)
Hi Steve, You don't need to delete the entire line, just the part that says FEBRUARY2012_files. So, for example : <v:imagedata src=FEBRUARY2012_files/image001.jpg o:title=/> would become <v:imagedata src=image001.jpg o:title=/> Of course, you need the original quotes in there, but you get the idea! Mark
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/09/12 04:07 PM (14 years ago)
Mark, based on your hint, instead of deleting the references, I took the folder that Word created along with the htm file, and dragged it to the docs folder and now the February2012_files is in the project as a folder (previously i just dragged its contents into the project) and now xcode knows where to find the pictures and all works well. Just as well since the PDF problems still vex me. Even changing all the pdfs to the sample ones don't seem to help. Things are better for a while but then, even the sample first pages start to disappear. I guess I'll just do htm. If you get any eureka moments about the pdfs, please let me know. Thanks for all the help. Steve
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/09/12 04:11 PM (14 years ago)
Hi Steve, Glad you got it worked out! Weird how these things end up getting fixed in ways we wouldn't expect. I'll keep thinking about the PDF issue, and let you know if I come up with anything. If you want to share your project files with me, I can run it on my system and see if it reproduces, and then debug from there. Sometimes that's very helpful (and I promise I won't steal your app or otherwise share it with anybody!). Thanks! Mark
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
01/09/12 06:18 PM (14 years ago)
Thanks Mark but now that I'm using HTML it seems better. I seem to get an extra benefit of having references to dates become links, touching each opening up a iphone screen to add to calendar, etc. which is sort of nice for this app. Only problem, and you'll see this in a new post, is that I have a ton of screens leading to PDFs which I now want to lead to HTMLs. I don't see any way out of deleting all the PDF menu items and replacing them with HTML items. Steve
 

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.