braco415 Posted February 6, 2007 Share Posted February 6, 2007 I´m trying to create a real basic web page using your tutorial and notepad. I thought that, if I used an absolute path link, I´d be able to use my computer as the host and view images on the web page. My absolute paths read something like this: C:\folder\file.jpgLong story short, it´s not working. I read a thread that was kind of beating around a question like this, but never really answered it. Can anyone help? Link to comment Share on other sites More sharing options...
jesh Posted February 6, 2007 Share Posted February 6, 2007 Usually, the best bet is to use relative paths. Put all of your code and images in a single directory - for example c:\folder. Then, put all of your images in a images directory - c:\folder\images. Then, in your code, you can reference the images with "images/image1.jpg".Otherwise, you'll need to use absolute paths with file:/// in front of it and the slashes facing the other direction in the rest of the path. For example: file:///c:/folder/file.jpgI hope this helps! Link to comment Share on other sites More sharing options...
braco415 Posted February 6, 2007 Author Share Posted February 6, 2007 Appreciate the quick reply. Don´t know why the relative path won´t work, but I got the absolute path you suggested to bring it up. Thanks!Another question for anyone: What is the best way to reduce photo sizes while retaining quality? I´ve got no idea. Link to comment Share on other sites More sharing options...
LittleSam Posted February 7, 2007 Share Posted February 7, 2007 What is the best way to reduce photo sizes while retaining quality? I´ve got no idea.ImageReady. Comes with Photoshop. Looking for freeware? Link to comment Share on other sites More sharing options...
jlhaslip Posted February 7, 2007 Share Posted February 7, 2007 Google on Irfanview. I think they have a freeware thumbnail creator. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now