Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Assistance Request: Displaying Image in CMS ??

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Themes
View previous topic :: View next topic  
Author Message
MrTom



Joined: 10 Nov 2009
Posts: 143
Location: SW Utah, U.S.A.

PostPosted: Tue Dec 29, 2009 9:16 pm    Post subject: Assistance Request: Displaying Image in CMS ?? Reply with quote

Am having difficulty in displaying an image on a CMS page.
The page displays the wpt comment, wpt symbol and plays the wpt sound
correctly when arriving at the location.
*** BUT, the wpt image is not displayed.
Instead the text of the link href;ie"images/Landrys.jpg"
is displayed in the designated image location.
The following is my wpt information:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1">
<wpt lat="35.13936" lon="-106.59300">
<name>END</name>
<cmt>Landry's Seafood</cmt>
<sym>8</sym>
<link href="nav8.wav"/>
<link href="images/Landrys.jpg"/>
</wpt>
</gpx>

The following is my image placement information in the cms.TestImage.xml file:
<area x="5" y="50" w="200" h="150">
<value>{wpt-img}</value>
</area>
The phone screen is 240x260 and the jpg image is 193x145(smaller than designated 200x150 area)
The image is in the "images" folder which is located in the TB directory tree
TB>
>images
>sounds
>ui-profiles
etc
Any indication of what I am doing incorrectly would be appreciated.
Thanks
Back to top
View user's profile Send private message
billy06



Joined: 01 Oct 2008
Posts: 434
Location: Lowestoft U.K

PostPosted: Wed Dec 30, 2009 10:52 am    Post subject: Reply with quote

the files need to be in WPTS/IMAGES a images folder in wpts folder
_________________
Nexus 5X, Nexus 5, Nexus 7 3G, HTC Sensation, nokia 5800. web:www.thetrekbuddies.co.uk . Twitter:http://twitter.com/TheTrekbuddies
Back to top
View user's profile Send private message Visit poster's website
MrTom



Joined: 10 Nov 2009
Posts: 143
Location: SW Utah, U.S.A.

PostPosted: Wed Dec 30, 2009 6:48 pm    Post subject: Reply with quote

THANK YOU, coding works perfect just by moving the "images " folder into the "wpts" folder. I have searched extensively,read all of the "How To" files on the topic and YOU are the FIRST to actually indicate where the "images" folder should be located.
The nice thing is that you do not actually have to go to the physical location of the wpt to view the images. One can just page through with the "7" and "9" keys.
I repeat again,
Thank you...
Back to top
View user's profile Send private message
billy06



Joined: 01 Oct 2008
Posts: 434
Location: Lowestoft U.K

PostPosted: Wed Dec 30, 2009 10:32 pm    Post subject: Reply with quote

yes the 7 & 9 is handy to check all is as it should be, i too searched loads of threds for the same info
_________________
Nexus 5X, Nexus 5, Nexus 7 3G, HTC Sensation, nokia 5800. web:www.thetrekbuddies.co.uk . Twitter:http://twitter.com/TheTrekbuddies
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Themes All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group