well i found it absolutely right..the code is working..i didn't have any moving , so i tried it with same images .. here is the same code that is perfectly working in my browser... i hope you just make sure that the image name is same as you have used in the source code.. moreover make sure you have saved the image in the right folder...
Strange, I just Open File. When I Open File in Firefox I navigate to the .html file and just look at it. I'm doing it right now. I have the html open in my text editor. I can change anything I want and see it (except the Web Developer Toolbar cannot disabled local images for some reason). If I tested like this (I don't), I'd play with it until I was happy and then upload to the server. However, I start at the server and SSH my text via my text editor (you should be able to do this with Notepad no prob). Every change I save updates the server--- however my server is generally not public so I can have my half-finished pages sitting there. If this were not an option for me, I'd sure be just looking with Open File. I can look at images alone too, like animated gif banners, in firefox.
Dear Prep, I want to see page localy with Images. I can see the text in brouser but the images in not displaying. this is the main problem. How people normaly view the page when are just designing the pages? They have upload to the server eveytime they want to see the changes? I cant understand how people works. I will try to use Html-Kit.
If they test locally, they use the browser's Open File. So long as the images are in the same path where you said they are in the HTML, they SHOULD show up. (note, example using Ubuntu settings and not Windows settings... if you're using Windows it's something like C:\\whatever\whatever ) Like, if file is /home/myname/Desktop/html/file.html then my images are in /home/myname/Desktop/html/image.gif so in the file.html my images are referenced as <img src="image.gif" width="" height="" alt="" > because they're in the same folder. Now if you are doing something like this and you see all your text and styles but no images, then you either have the wrong path (try opening the image alone in your browser... can you see it?) somehow don't have permissions to see it via your browser (unlikely) When I have a web page online (on my server, cause I actually DO upload everything to test, but that's because I CAN), if I can't see images I try the path to see if I can see the image. Like at stommepoes.nl there are images one of them is header.gif that's the whole path, just "header.gif" so if I didnt' see that image, I'd type in the browser stommepoes.nl/header.gif and I'd better see it. If I don't, it means that my path is wrong. I think you can do the same thing, pretty much, locally. In the example above, if your image was /home/myname/Desktop/images/image.gif then it wouldn't show up when you looked at file.html locally because the path is wrong you would need to change <img src="image.gif" width="" height="" alt="" > to <img src="../images/image.gif" width="" height="" alt="" > because that's where the image really is. the ../ moves up one time out of the folder your html file is in and then you can go down into the correct folder.
Thank you so much. I clearly understand what you mean. But since the images are in the same folder as Html page do, but still cant display. I tried other path too. Did you tried with my given code here in this post above? Some one told me here in this thread that I cant see the images localy? for that I have to download server in my pc or upload online, but as you are saying that I could see the images localy in my brouser. I can see only texts. I tried to open in firefox too but cant.
Yeah I saw that. Maybe there's something else going on here that I don't understand, but I CAN see my local images. They are sitting here on my computer, which is hooked up to teh internets but isn't a server (and if it's not hooked up to the internet it doesn't matter). I can open them in my browser by themselves or when they are in an HTML file. However, I'm using Ubuntu Linux, which I don't think should matter but maybe it does. Maybe on a Windows machine you cannot see local images?? Because once I even built a page with my notebook at a friend's house where there was no internet.
Can you try to open the images on your laptop with above code? I saved the images in the same folder as Html page so we dont need to mention the path? but still cant open the images in the brouser. I can see texts in the brouser but not the images. Can you try the above code with same images? and let me know whats wrong. I am so confused and nervous.Different peoples are saying different things.
What kind of computer are you using? What is the path to your folder? What browser are you using? It may be an operating system thing that is preventing you from viewing, folder restrictions, browser restrictions, etc.
That's what I'm thinking... like, for instance, on my old laptop, when I copied an image from my USB disk, and then used it in a web page and stuck it on my server, I could never see the image. When I typed the (online in this case) path directly into the browser, I got the Forbidden page-- aha, yes, I kept forgetting that for some reason stuff on my USB stick had no permissions. On my laptop, before setting on the server, I had to manaully change the permissions. Yes, if I have an image on my laptop (let's say it's just sitting on the desktop and not even in any other folders) I can right-click on it, and being Linux, it first asks if I want to open in in the default setting (which is ImageViewer, a program I have) but that is followed by other options, such as Open with Gimp (my Photoshop) or Open with Firefox. I can choose Open with Firefox and it opens my browser if it's not already open (if it is already open, it opens a new tab) showing a white screen with the image in the upper left corner. I can also already have FireFox (or Opera or Konqueror) open and go to File, Open File, and I get a menu pop up with all my folders... I can click my way through to the Desktop and select the file (any image or html file or Flash file) and see it in my browser. All locally. Here are some screenshots: (I could not get the thing to make a screenshot while having any FF menus open sorry) http://stommepoes.nl/screen1.gif http://stommepoes.nl/screen2.gif http://stommepoes.nl/screen3.gif http://stommepoes.nl/localwebpage.gif
I am using ibm thinkpad T42 Windows XP Professional. html and image file are stored in the same folder.