Author Topic: Image display question  (Read 1052 times)

0 Members and 1 Guest are viewing this topic.

Offline MarkWX

  • Senior Contributor
  • ****
  • Posts: 208
Image display question
« on: February 12, 2011, 05:42:36 PM »
First of all I use FrontPage 2002 to edit my site. I'm thinking I might like to display my weather cam images on my personal home page but I don't know how or if there is even a way. Right now the images are in another directory on server (http://www.mark74.com/weather) and they display on this page: http://www.mark74.com/weather/cam.htm. So I need the two images in mark74.com/weather to display on the home page at mark74.com (index.htm). I messed around with this for a while today but just can't get it to work. I can set the path to either place on my hard drive where the files for the two sites are stored and have the pictures display locally but not online. When I say two sites I mean personal at mark74.com and weather at mark74.com/weather. It's all the same site but all my weather pages are in a sub folder with the home weather page being index.htm.

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Image display question
« Reply #1 on: February 13, 2011, 11:00:18 PM »
I'm not sure I completely understand the question.  That being said you should be able to insert <img src="/weather/image.jpg" width="349" height="262" alt="" title="" border="0" /> wherever you want tho top picture from the cam page to appear on the personal page.  Using Front page might give you some coding you don't want.  I suggest you use notepad or better still Notepad++  ( http://notepad-plus-plus.org/ ).

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


Offline MarkWX

  • Senior Contributor
  • ****
  • Posts: 208
Re: Image display question
« Reply #2 on: February 13, 2011, 11:39:44 PM »
When you insert an image with frontpage the default setup is such that the image file and the page file must be in the same directory on server for it to display the image. If they are not in the same place the page will display a broken image. There is a place to edit the image source and I tried that but it didn't work. I can edit the code just fine in frontpage and have no problem working with what's there, moving stuff around and adding stuff so no need for notepad for that. Anyway I added the line you gave me with changes to the image size and it works! The image doesn't show in frontpage because the source is now (just a blank place holder) outside the local disk but that's fine as it does show once it's online. What I learned is that all I needed to do when inserting an image using the editor interface is to change the source from the local disk to "/weather/image.jpg" under picture properties. I tried this before posting here but I used the full address (http://www.mark74.com/weather/image.jpg) and this does not work.

Thank you much!

Offline jay_hoehn

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 656
    • Jay's Woodcrafts
Re: Image display question
« Reply #3 on: February 14, 2011, 09:52:26 AM »
Glad I could help.

Jay
Davis Vantage Pro2 Plus
VVP
Weather Display


 

anything