Problem with -Designed my site Offline-Where to go next?

  • altom55
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 16, 2011
  • Posts: 24
  • Loc: UK
  • Status: Offline

Post March 19th, 2011, 3:56 pm

I have designed my site offline in html-kit becauce i was told that it was better.
Now comes the time im nearly ready to upload my first site and now i find i'm confused
about changing paths - especially for images - which are all relative path.
This is what they look like now.
{ "file:///C:/Users/alan/Documents/blahblah-dot-com/images/blah.jpg" }

My question is how do i change to absolute www dot and still be able to see the images.?
Do i change all files to absolute just before upload ?
Do i put the www before the site name .?

As you can plainly see i am a newbie but i do not know how to change the whole structure of the site.

Hope someone can help.
Kind regards alan...
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 19th, 2011, 3:56 pm

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post March 19th, 2011, 4:31 pm

Change all your paths to absolutes from the root of your public folder.

Example:
If your were storing your images under:
http://example.org/images

Code: [ Select ]
<img src="/images/image.jpg" />
#define NULL (::rand() % 2)
  • altom55
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 16, 2011
  • Posts: 24
  • Loc: UK
  • Status: Offline

Post March 19th, 2011, 5:06 pm

Thanks for the quick reply SpooF !

Do I have to do it this way for all files and images ?
Could you point me to a good tutorial about this subject ?

Thanks in advance...

Al..
  • altom55
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 16, 2011
  • Posts: 24
  • Loc: UK
  • Status: Offline

Post March 19th, 2011, 6:34 pm

I have tried to do call an image in this way and it does not show.
Could you please explain this image code as my images are in a separate folder
al..

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 49 guests
  • 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 post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.